json
The json
codec supports the Javascript Object Notation format.
Specification: JSON.
Deserialization supports minified and fat JSON. Duplicate keys are not preserved, consecutive duplicate keys overwrite previous ones.
Serialization supports minified JSON only.
The codec can be configured with a mode, either sorted
or unsorted
. The default is unsorted
as it is singnificantly faster, sorted
json is only needed in testing situations where the key order in maps matters for compairson.