json-parse
A low-level JSON parser for Rust with a simple API and full spec support.
use ;
let json = "[1, true, null]";
let parsed = parse.unwrap;
assert_eq!;
Consider using this library if:
- You need a lightweight parser with no external dependencies.
- You want nice user-facing error messages and the ability to pinpoint exactly where a parsing error happened.
- You need to maintain the relative order of the keys in a JSON object (for example, to build a JSON formatter).
This library may not be a good fit if: