adventjson 0.1.1

A full json-parser written in Rust for the advent of code challenges
Documentation
  • Coverage
  • 100%
    20 out of 20 items documented2 out of 6 items with examples
  • Size
  • Source code size: 70.64 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.13 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • zvavybir/adventjson
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • zvavybir

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.