Skip to content

A full json-parser written in Rust for the advent of code challenges.

License

Notifications You must be signed in to change notification settings

zvavybir/adventjson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple JSON library

This is a simple JSON library I wrote for one of the advent of code challenges, but became a full, standard complaint JSON parser. To use it just call the JsonObject::read function with what you want to have parsed:

use adventjson::JsonObject;

let s = "{\"hello\": \"World\", \"answer\": 42}";
let json_object = JsonObject::read(s)?;

assert_eq!(format!("{}", json_object), s);

License

This library is distributed under the GPL license.

About

A full json-parser written in Rust for the advent of code challenges.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages