Expand description
Humphrey JSON is a library facilitating the serialization and deserialization of JSON data. It is designed for web applications, but can be used in other contexts, and is well-integrated with the Humphrey web server.
Learn more about Humphrey JSON here.
Re-exports§
pub use value::Value;
Modules§
- error
- Provides error handling functionality.
- indexing
- Provides functionality for indexing into JSON values.
- macros
- Provides the
json!macro for creating JSON values and thejson_map!macro for serializing/deserializing them to and from Rust data structures. - parser
- Provides the core JSON-parsing functionality.
- prelude
- Brings useful traits and macros into scope.
- serialize
- Provides JSON serialization functionality.
- traits
- Provides useful traits for working with JSON values.
- value
- Provides the
Valuestruct for interfacing with JSON values.
Macros§
- json
- Create a JSON value from JSON-like syntax.
- json_
map - Specifies a mapping between a Rust data structure and a JSON value.
Functions§
- from_
str - Deserialize a JSON string into a Rust data structure.
- to_
string - Serialize a Rust data structure into a JSON string.
- to_
string_ pretty - Serialize a Rust data structure into a JSON string, pretty-printed with indentation.