11 releases (4 stable)
Uses new Rust 2024
1.3.0 | May 19, 2025 |
---|---|
1.2.0 | May 7, 2025 |
1.0.1 | Feb 10, 2025 |
1.0.0 | Jan 4, 2025 |
0.1.5 | Aug 26, 2024 |
#986 in Parser implementations
285 downloads per month
Used in http-srv
43KB
1K
SLoC
Json parser
Example
use json::Json;
let j = Json::deserialize(r#"{
"array" : [ 1, 2, "3", null ],
"true" : true,
"nested" : {
"inner" : []
}
}"#).unwrap();
let Json::Object(map) = j else { panic!() };
assert!(
matches!(
map.get("true"),
Some(Json::True)));
Json parser
This is a rust library to work with json.
== Documentation ==
To read the library documentation run cargo doc
or browse the online docs at https://docs.rs/jsonrs
==== Copyright (C) 2025 Saúl Valdelvira
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3.
No runtime deps
~0–0.9MB