Cargo Features
[dependencies]
json-value = { version = "0.3.3", default-features = false, features = ["preserve_order"] }
- default = preserve_order
-
The
preserve_order
feature is set by default wheneverjson-value
is added without
somewhere in the dependency tree.default-features = false - preserve_order default
-
Enables preserve_order of serde_json
serde_json:
Make serde_json::Map use a representation which maintains insertion order.
This allows data to be read into a Value and written back to a JSON string while preserving the order of map keys in the input.
JsonValue has 2 features without comments.