json-rust
json-rust copied to clipboard
JSON implementation in Rust
I just discovered in my code that the following lines can overflow and panic: https://docs.rs/json/0.11.13/src/json/number.rs.html#444.
I'm currently using json-rust to parse pretty large JSON files (hundreds of Mb). Unsurprisingly, this eventually blows up the stack. Now, as it turns out, I immediately convert the format...
`push()` returns a `Result` so that if you try to push onto something that's not an array. I think this function should return nothing and panic (or just do nothing)...
Maybe is tricky if there are circular dependencies but it would be extremely helpful to get an option to pre-inline all references before parsing or something similar.
If the types are homogeneous, then they can be compared directly, if they are not homogeneous, then the result of comparison can be None.
My program gets a JsonValue, it assumes the JsonValue is a string, so it stores that in a database: let jsonvalue = json_object["this_is_a_string"]; database.store(jsonvalue.to_string().as_bytes()); Later on, I decided that I...
Sorry for reporting such silly issues! Your logo http://terhix.com/doc/json-rust-logo-small.png seems to be the first cause of mixed content warning that I see on the page https://docs.rs/json/0.11.10/json/ which is served over...
Not sure if macOS is supported or not, but the following line is producing a Segmentation Fault. Same thing works perfectly fine on Linux and Windows. let findfuncs: lib::Symbol JsonValue>...
The Display behavior for strings is inconsistent with the behavior for other JsonValue variants. The others all display in JSON form. ```rust #[macro_use] extern crate json; fn main() { println!("{}",...