Fix Flavor section in README.md
This commit is contained in:
parent
224fd6efc9
commit
0bb1e48872
|
@ -98,10 +98,10 @@ type
|
||||||
|
|
||||||
createJsonFlavor OptJson
|
createJsonFlavor OptJson
|
||||||
OptionalFields.useDefaultSerializationIn OptJson
|
OptionalFields.useDefaultSerializationIn OptJson
|
||||||
|
```
|
||||||
|
|
||||||
`omitOptionalFields` is used by the Writer to ignore fields with null value.
|
`omitOptionalFields` is used by the Writer to ignore fields with null value.
|
||||||
`skipNullFields` is used by the Reader to ignore fields with null value.
|
`skipNullFields` is used by the Reader to ignore fields with null value.
|
||||||
```
|
|
||||||
|
|
||||||
## Decoder example
|
## Decoder example
|
||||||
```nim
|
```nim
|
||||||
|
|
Loading…
Reference in New Issue