https://github.com/edg-l/lalrpop-json
A JSON parser using lalrpop in Rust.
https://github.com/edg-l/lalrpop-json
json lalrpop rust
Last synced: 2 months ago
JSON representation
A JSON parser using lalrpop in Rust.
- Host: GitHub
- URL: https://github.com/edg-l/lalrpop-json
- Owner: edg-l
- License: agpl-3.0
- Created: 2024-01-23T13:56:30.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-23T14:00:19.000Z (over 2 years ago)
- Last Synced: 2025-03-28T00:41:09.827Z (over 1 year ago)
- Topics: json, lalrpop, rust
- Language: Rust
- Homepage:
- Size: 22.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lalrpop-json
A JSON parser using lalrpop.
```rust
use lalrpop_json::{parse_value, Value};
let value: Value = parse_value(r#"
{
"hello": "world",
"array": ["first", 2, true, false, null, { "more": 2 }]
}
"#).unwrap();
```