jsnom 1.0.1

Small and ergonomic JSON parser library
Documentation
  • Coverage
  • 61.11%
    11 out of 18 items documented8 out of 11 items with examples
  • Size
  • Source code size: 29.61 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.15 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 17s Average build duration of successful builds.
  • all releases: 17s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Piturnah/jsnom
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Piturnah

JSnom

crates.io documentation license downloads stargazers

JSON parser, with a focus on small size and ergonomics.

Example

[dependencies]
jsnom = "1.0"
use jsnom::JsonValue;

fn main() {
    assert_eq!(
        JsonValue::from_str("[null, null, true]"),
        Ok(JsonValue::Array(vec![
            JsonValue::Null,
            JsonValue::Null,
            JsonValue::Bool(true)
        ]))
    );
}

License

This project is dual-licensed under either:

at your option.

Contributing

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.