json-toolkit
The json-toolkit
crate exposes all the common manipulation/validation operation expected from a JSON pointer and support
several JSON value representation :
use ;
use ;
let mut json = json!;
json.insert_at.unwrap;
assert_eq!;
let old_value = json.insert.unwrap;
assert_eq!;
assert_eq!;
let id = pointer;
assert_eq!;
Features
json-toolkit
supports several JSON value representation, and has features that may be enabled or disabled :
serde
: Enableserde
{de}serialization onPointer
type and implementValueExt
onserde_json::Value
type.json
: ImplementValueExt
onjson::JsonValue
type.
License
Licensed under MIT license (LICENSE or http://opensource.org/licenses/MIT)