Utility functions for serde_json::Value
. The functions are implemented as traits so all you need is to add the crate to your dependencies in your Cargo.toml
.
toml
[dependencies]
serde-json-utils = "0.2.1"
fn main() { let mut val: Value = fromstr(DATA).unwrap(); val.skipnullandempty();
println!("{:#?}", val);
} ```
License: MIT