I'm developing a library that operates over JSON. I don't want to force the application into using serde_json or any specific JSON library, so I'm interested in some abstraction.
At first I thought json-trait-rs can be used for this purpose, but I found there was no support for editing given JSON data.
While searching https://lib.rs/, I found https://github.com/simd-lite/value-trait, developed behind the simd-json crate. It is apparently supposed to do the same thing.
Traits in value-trait supports mutation. however, it currently doesn't have any binding to JSON library.
It might be preferable to settle on a single standard and get the best of both libraries.
I'm developing a library that operates over JSON. I don't want to force the application into using
serde_jsonor any specific JSON library, so I'm interested in some abstraction.At first I thought
json-trait-rscan be used for this purpose, but I found there was no support for editing given JSON data.While searching https://lib.rs/, I found https://github.com/simd-lite/value-trait, developed behind the
simd-jsoncrate. It is apparently supposed to do the same thing.Traits in
value-traitsupports mutation. however, it currently doesn't have any binding to JSON library.It might be preferable to settle on a single standard and get the best of both libraries.