| Crates.io | serde_json_merge |
| lib.rs | serde_json_merge |
| version | 0.0.6 |
| created_at | 2022-09-22 12:11:47.93139+00 |
| updated_at | 2025-05-11 20:41:04.353071+00 |
| description | Merge, index, iterate, and sort a serde_json::Value (recursively) |
| homepage | https://github.com/romnn/serde_json_merge |
| repository | https://github.com/romnn/serde_json_merge |
| max_upload_size | |
| id | 671666 |
| size | 143,570 |
Merge, index, iterate, and sort a serde_json::Value (recursively).
This library supports in-place merging and sorting using DFS and BFS traversal.
[dependencies]
serde_json_merge = "0"
For usage examples, check the examples and documentation.
TODO: embed these examples here
cargo run --example async_fs --features async -- --path ./
cargo run --example sync_fs --features sync,rayon -- --path ./
cargo install cargo-criterion
cargo install cargo-feature-combinations
brew install taskfile
# see a list of development tasks such as `test`, `bench`, or `lint`
task --list
Benchmark reports are available here.
After I wrote this crate for another project and decided to publish it, I found json_value_merge.
Looking through it, I added merge_index inspired by their merge_in API.