geario ~master (2022-06-04T17:41:52.6758737)
Dub
Repo
JsonSerializer.GetItemAs
geario
serialization
JsonSerializer
JsonSerializer
Undocumented in source. Be warned that the author may not have intended to support it.
class
JsonSerializer
static
T
GetItemAs
(
T
bool
CanThrow
= false
)
(
ref
const
(
JSONValue
)
json
,
string
name
,
T
defaultValue
=
T.init
)
if
(
!
is
(
T
==
void
)
)
Meta
Source
See Implementation
geario
serialization
JsonSerializer
JsonSerializer
aliases
fromJson
static functions
DeserializeObject
GetItemAs
HandleException
SerializeObject
toJson
toJsonImpl
toObject