A JSON parser using lalrpop in Rust.
Go to file
Edgar e41bd3e6f5
Create LICENSE
2024-01-23 11:00:19 -03:00
src readme 2024-01-23 10:59:53 -03:00
.gitignore initial 2024-01-23 10:56:47 -03:00
Cargo.lock initial 2024-01-23 10:56:47 -03:00
Cargo.toml initial 2024-01-23 10:56:47 -03:00
LICENSE Create LICENSE 2024-01-23 11:00:19 -03:00
README.md readme 2024-01-23 10:59:53 -03:00
build.rs initial 2024-01-23 10:56:47 -03:00

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();