3 unstable releases
0.1.1 | Oct 17, 2023 |
---|---|
0.1.0 | Oct 16, 2023 |
0.0.1 | Oct 21, 2022 |
#841 in Data structures
41KB
1K
SLoC
rjson
rj = "0.1"
Demo
fn main() {
pretty_env_logger::init();
let john = serde_json::json!({
"name": "John Doe",
});
let json: rj::RJson = john.into();
let effect_json = json.clone();
let _eff = rj::effect(move || {
println!("effect fn1 -> name: {:?}", effect_json.get("name"));
});
json.set("name", "zhangsan");
}
Dependencies
~0.5–1.1MB
~22K SLoC