Is there a way to use JSON Path with Serde to delete a key (or element at array index) in a deep object? I don’t know if I follow enough Rust folks here but let’s see.
0 reposts1 like
Is there a way to use JSON Path with Serde to delete a key (or element at array index) in a deep object? I don’t know if I follow enough Rust folks here but let’s see.
0 reposts1 like
idk about the manipulation aspect, but maybe you can do something with serde_json and docs.rs/serde_json_p...
Here are some options I found: - docs.rs/serde_json/l... - use the existing API and ? away the fallible parts between .as_object etc. calls - docs.rs/json-patch/l... - docs.rs/smart_access... is the freshest lens alternative I can find. May need to add serde_json integration.