@@ -79,7 +79,7 @@ This can be useful when you want to use some custom external serializer
7979or to define different serializers for different formats.
8080The latter allows polymorphic serialization and deserialization using runtime class information
8181and recorded name of a class.
82- Consult theirs documentation for details. Polymorphic serialization is explained in details [ here] ( polymorphism.md ) .
82+ Consult their documentation for details. Polymorphic serialization is explained in details [ here] ( polymorphism.md ) .
8383
8484Both use serial modules system, which is explained [ here] ( custom_serializers.md#registering-and-context ) .
8585
@@ -92,13 +92,13 @@ Runtime library provides three ready-to use formats: JSON, CBOR and ProtoBuf.
9292JSON format represented by ` Json ` class from ` kotlinx.serialization.json ` package.
9393It is configurable via ` JsonConfiguration ` class, which has following parameters:
9494
95- * encodeDefaults - set this to false to omit writing optional properties if they are equal to theirs default values.
95+ * encodeDefaults - set this to false to omit writing optional properties if they are equal to their default values.
9696* strictMode - Prohibits unknown keys when parsing JSON. Prohibits NaN and Infinity float values when serializing JSON. Enabled by default.
9797* unquoted - means that all field names and other objects (where it's possible) would not be wrapped in quotes. Useful for debugging.
9898* prettyPrint - classic pretty-printed multiline JSON.
9999* indent - size of indent, applicable if parameter above is true.
100100* useArrayPolymorphism – switches to writing polymorphic values in ` [className, object] ` format. Disabled by default.
101- * classDiscriminator – name of the class descriptor property in polymorphic serialization
101+ * classDiscriminator – name of the class descriptor property in polymorphic serialization.
102102
103103It also has two pre-defined sets of parameters: ` Default ` and ` Stable ` .
104104` Default ` provides recommended and sane configuration, however, due to a library evolution,
0 commit comments