Skip to content

Commit 7b64cc7

Browse files
authored
Couple minor gramatical tweaks (#926)
1 parent 449dc11 commit 7b64cc7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/runtime_usage.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ This can be useful when you want to use some custom external serializer
7979
or to define different serializers for different formats.
8080
The latter allows polymorphic serialization and deserialization using runtime class information
8181
and 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

8484
Both 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.
9292
JSON format represented by `Json` class from `kotlinx.serialization.json` package.
9393
It 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

103103
It 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

Comments
 (0)