kolasu
1.6.0-RC1-observers-SNAPSHOT
jvm
core
/
com.strumenta.kolasu.serialization
/
JsonDeserializer
Json
Deserializer
class
JsonDeserializer
Members
Constructors
Json
Deserializer
Link copied to clipboard
constructor
(
)
Functions
deserialize
Link copied to clipboard
fun
<
T
:
Node
>
deserialize
(
clazz
:
Class
<
T
>
,
jo
:
JsonObject
)
:
T
fun
<
T
:
Node
>
deserialize
(
clazz
:
Class
<
T
>
,
json
:
String
)
:
T
deserialize
Parsing
Result
Link copied to clipboard
fun
<
T
:
Node
>
deserializeParsingResult
(
rootClass
:
Class
<
T
>
,
json
:
String
)
:
ParsingResult
<
T
>
deserialize
Result
Link copied to clipboard
fun
<
T
:
Node
>
deserializeResult
(
rootClass
:
Class
<
T
>
,
json
:
String
)
:
Result
<
T
>
register
Custom
Deserializer
Link copied to clipboard
fun
registerCustomDeserializer
(
type
:
KType
,
serializer
:
JsonDeserializer
<
*
>
)