Utility functions for serde_json::Value.
toml
[dependencies]
serde-json-utils = "0.1.0"
const DATA: &str = r###" [ { "key1": null, "key2": "there is a value", "key3": {}, "key4": [], "key5": [1, 2, 3, 3] }, { "key1": "value in here", "key2": null }, { "key1": "value in here", "key2": null } ] "###;
fn main() { let mut val: Value = fromstr(DATA).unwrap(); skipnullandempty(&mut val);
println!("{:#?}", val);
} ```
License: MIT