JsonBuilder
Builder of the Json instance provided by Json { ... }
factory function.
Properties
allowSpecialFloatingPointValues
Link copied to clipboard
allowStructuredMapKeys
Link copied to clipboard
classDiscriminator
Link copied to clipboard
coerceInputValues
Link copied to clipboard
encodeDefaults
Link copied to clipboard
explicitNulls
Link copied to clipboard
ignoreUnknownKeys
Link copied to clipboard
Specifies whether encounters of unknown properties in the input JSON should be ignored instead of throwing SerializationException. false
by default.
prettyPrint
Link copied to clipboard
prettyPrintIndent
Link copied to clipboard
Specifies indent string to use with prettyPrint mode 4 spaces by default. Experimentality note: this API is experimental because it is not clear whether this option has compelling use-cases.
serializersModule
Link copied to clipboard
Module with contextual and polymorphic serializers to be used in the resulting Json instance.
useAlternativeNames
Link copied to clipboard
Specifies whether Json instance makes use of JsonNames annotation.
useArrayPolymorphism
Link copied to clipboard