Skip to content

Commit

Permalink
Clarify explanation of preserve_order feature
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jun 8, 2020
1 parent bc9b38e commit 4630190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ std = ["serde/std"]
# Available on Rust 1.36+.
alloc = ["serde/alloc"]

# Use a different representation for the map type of serde_json::Value.
# 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.
preserve_order = ["indexmap"]
Expand Down

0 comments on commit 4630190

Please sign in to comment.