serde_json_merge
Merge, index, iterate, and sort a `serde_json::Value`` (recursively).
This library supports both in-place recursive (can stack overflow) and allocating iterative merging.
[]
= "0"
Usage
For usage examples, check the examples and documentation.
Examples
Documentation
RUSTDOCFLAGS="--cfg docsrs"
Linting
Benchmarking
# full benchmark suite
# sync benchmarks only
# dfs benchmarks only
Benchmark reports from CI are published are available here.
Acknowledgements
After i wrote this crate for another project and decided to publish it, I found (json_value_merge)[https://crates.io/crates/json_value_merge].
Looking through it, I added merge_index
inspired by their merge_in
API.
TODO
- do not expose wrapper for Value but use extension
- add depth parameter to recursive merge
- add custom comparator for merging
- add examples in the documentation
- write documentation
- write benchmarks