Expand description
This module exports different types for JSON interactions. It encapsulates the differences between serde_json and simd-json to allow ignoring those in the rest of the codebase.
Macros§
- json
- Construct a serde_json::Valuefrom a JSON literal.
Structs§
- JsonError 
- This type represents all possible errors that can occur when serializing or deserializing JSON data.
Constants§
Functions§
- from_reader 
- Deserialize an instance of type Tfrom bytes of JSON text.
- from_slice 
- Deserialize an instance of type Tfrom bytes of JSON text.
- from_str 
- Deserialize an instance of type Tfrom a string of JSON text.
- from_value 
- Interpret a Valueas an instance of typeT.
- hashmap_to_ json_ map 
- Converts a HashMap into a final JsonMaprepresentation.
- to_string 
- Serialize the given data structure as a String of JSON.
- to_string_ pretty 
- Serialize the given data structure as a pretty-printed String of JSON.
- to_value 
- Convert a Tinto aValuewhich is an enum that can represent any valid JSON data.
- to_vec
- Serialize the given data structure as a JSON byte vector.
- to_vec_ pretty 
- Serialize the given data structure as a pretty-printed JSON byte vector.