https://github.com/vhiribarren/json-parser-rust
Simple JSON parser as a toy project.
https://github.com/vhiribarren/json-parser-rust
json parser rust toy-project
Last synced: about 1 month ago
JSON representation
Simple JSON parser as a toy project.
- Host: GitHub
- URL: https://github.com/vhiribarren/json-parser-rust
- Owner: vhiribarren
- License: mit
- Created: 2020-11-07T13:46:55.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-08T14:57:54.000Z (over 5 years ago)
- Last Synced: 2025-01-07T11:48:56.800Z (over 1 year ago)
- Topics: json, parser, rust, toy-project
- Language: Rust
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple JSON parser in Rust
This is a toy project to:
- train myself in using Rust
- train myself in coding parsers
No specific optimization, and not designed to be highly performant.
Currently, it only does parsing, and not serialization.
On the plus side:
- no usage of libraries outside of the `std` one
- no usage of a regular expression library
To build:
$ cargo build
Some examples:
$ cargo test
$ cargo run --example json-debug -- -s '{"one": 1, "two": {"table":[1, null, true, {"bloup": 3}]}}'