Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 15 days 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 (11 months ago)
- Default Branch: master
- Last Pushed: 2024-01-23T14:00:19.000Z (11 months ago)
- Last Synced: 2024-10-19T08:18:57.172Z (2 months 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();```