An open API service indexing awesome lists of open source software.

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.

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}]}}'