toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.serialization.json
/
Json
Json
object
Json
Members
Types
Context
Link copied to clipboard
data
class
Context
(
val
optimizedNumericLists
:
Boolean
,
val
useFastArrayList
:
Boolean
=
false
)
Custom
Serializer
Link copied to clipboard
interface
CustomSerializer
Functions
parse
Link copied to clipboard
fun
parse
(
s
:
StrReader
,
context
:
Json.Context
=
Context.DEFAULT
)
:
Any
?
fun
parse
(
s
:
String
,
context
:
Json.Context
=
Context.DEFAULT
)
:
Any
?
parse
Dyn
Link copied to clipboard
fun
parseDyn
(
s
:
String
,
context
:
Json.Context
=
Context.DEFAULT
)
:
Dyn
parse
Fast
Link copied to clipboard
fun
parseFast
(
s
:
String
)
:
Any
?
parse
Fast
Dyn
Link copied to clipboard
fun
parseFastDyn
(
s
:
String
)
:
Dyn
stringify
Link copied to clipboard
fun
stringify
(
obj
:
Dyn
,
pretty
:
Boolean
=
false
)
:
String
fun
stringify
(
obj
:
Any
?
,
pretty
:
Boolean
=
false
)
:
String
fun
stringify
(
obj
:
Any
?
,
b
:
StringBuilder
)
stringify
Pretty
Link copied to clipboard
fun
stringifyPretty
(
obj
:
Any
?
,
b
:
Indenter
)