json icon indicating copy to clipboard operation
json copied to clipboard

Strongly typed JSON library for Rust

Results 250 json issues
Sort by recently updated
recently updated
newest added

Hello! I'm seeking to improve the performance of a program that reads JSON data as `serde_json::Value` and immediately converts it to a custom type. In my program [jaq](https://github.com/01mf02/jaq), I create...

The question is in the title. It would be consistent with `as_str` which returns `Option`

An attempt to replicate the wins in #687 without using unsafe or losing any performance. To achieve this, all commonly duplicated methods have been extracted to less generic methods (only...

# The Problem When trying to deserialize a json object with missing fields to a struct with serde_json, one may get an Error of the Catergory Data. Sadly those Categories...

Number struct should have Copy trait because a number is literal.

Added `Value::remove_by_pointer` method that allows you to remove a value from a nested JSON object specified by JSON pointer as in `Value::pointer{_mut}`.

is there a way where I can convert wasm_bindgen::JsValue to a serde_json::Value and back?

Attempt to resolve #810. This implementation works by expanding the contents of the map twice, first producing a capacity value, then actually inserting the elements. Because it expands the contents...

I just ran into an issue whilst coding and found an issue here describing my challenge exactly, a handful of months old, with zero reaction from maintainers. Looking around the...

I have a JSON format which could be either a tagged value or an empty map `{}`. Examples of JSON: ``` {"A" : 123} ``` ``` {"B" : 234} ```...