json-rust
json-rust copied to clipboard
JSON implementation in Rust
add array_insert method. Works on `JsonValue::Array` - insert an entry at index.will return error not on `JsonValue::Array`.
Add capability to use .as_u128 for JsonValue
This change adds Natvis visualizations for types in the `json` crate to help improve the debugging experience on Windows. Natvis is a framework that can be used to specify how...
The lifetimes of `read_complex_string` in `parser.rs` are weird. It returns a slice, but the lifetime of the slice is not tied to either the lifetime of `self` or the lifetime...
`wrapping_neg` has the correct behavior, and avoids `- num` from overflowing in debug builds when `num == i64::MIN`.
Using version 0.12.4 from crates.io Using JsonValue::write(&mut file) generates invalid json. It later returns an Err when doing json::parse().
In the README, you say this crate "does very well in benchmarks", linking [json-benchmark](https://github.com/serde-rs/json-benchmark). That repository benchmarks 3 JSON libraries for rust, none of which are this one. The three...
When whole numbers other than 0 with decimal places are parsed and then converted back to string they maintain their decimal point unless than number is 0 in which case...
Hi, when I used afl.rs to test the package, the fuzzer detected unexpected program panics, which I consider to be a bug. Here is the example code: ``` rust extern...
Fixes maciejhirsz/json-rust#220