mirror of
https://github.com/edg-l/lalrpop-json.git
synced 2024-09-14 23:02:20 +00:00
src | ||
.gitignore | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
README.md |
lalrpop-json
A JSON parser using lalrpop.
use lalrpop_json::{parse_value, Value};
let value: Value = parse_value(r#"
{
"hello": "world",
"array": ["first", 2, true, false, null, { "more": 2 }]
}
"#).unwrap();