lalrpop-json/README.md
2024-01-23 10:59:53 -03:00

235 B

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