Skip to content

vhiribarren/json-parser-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple JSON parser as a toy project.

Topics

Resources

License

Stars

Watchers

Forks

Languages