data class JsonConfiguration
The class responsible for JSON-specific customizable behaviour in Json format.
Options list:
NaN
and Infinity
and enables their
serialization. When enabling it, please ensure that the receiving party will be
able to parse these special values.[k1, v1, k2, v2]
.This class is marked with UnstableDefault: its semantics may be changes in the next releases, e.g. additional flag may be introduced or default parameter values may be changed.
(common, js, jvm, native)
<init> |
The class responsible for JSON-specific customizable behaviour in Json format. <init>(encodeDefaults: Boolean = true, ignoreUnknownKeys: Boolean = false, isLenient: Boolean = false, serializeSpecialFloatingPointValues: Boolean = false, allowStructuredMapKeys: Boolean = false, prettyPrint: Boolean = false, unquotedPrint: Boolean = false, indent: String = defaultIndent, useArrayPolymorphism: Boolean = false, classDiscriminator: String = defaultDiscriminator, updateMode: UpdateMode = UpdateMode.OVERWRITE) |
(common, js, jvm, native)
Default |
Default recommended configuration for Json format. val Default: JsonConfiguration |
(common, js, jvm, native)
Stable |
Stable JsonConfiguration that is guaranteed to preserve its semantics between releases.
To have a stable base in your Json configuration you can use val Stable: JsonConfiguration |