JsonBuilder
Builder of the Json instance provided by Json { ... }
factory function.
Properties
Link copied to clipboard
Specifies whether encounters of unknown properties in the input JSON should be ignored instead of throwing SerializationException. false
by default.
Link copied to clipboard
Specifies JsonNamingStrategy that should be used for all properties in classes for serialization and deserialization.
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.
Link copied to clipboard
Module with contextual and polymorphic serializers to be used in the resulting Json instance.
Link copied to clipboard
Specifies whether Json instance makes use of JsonNames annotation.