A toy implementation of a JSON parser.
- Rust
- Cargo (Rust's package manager)
You can install both by following the instructions at rust-lang.org.
Run the parser with a JSON file:
cargo run -- <JSON_PATH>
Run the test suite:
cargo test
- Parse JSON objects and arrays
- Support for all JSON data types (strings, numbers, booleans, null)
- Error handling with detailed messages
- Add recursive parser implementation once tail recursion is officially supported in Rust