Skip to main contentCrate jhon
Source - jhon
- A wrapper that can be used with
#[serde(with = "jhon")] to serialize/deserialize
fields using JHON format.
- Jhon
- Wrapper type for serializing/deserializing arbitrary types with JHON format.
- JhonError
- Errors returned by JHON parsing and (de)serialization.
- from_str
- Deserialize a JHON string into any type that implements
Deserialize. - parse
- Parse a Jhon config string into a JSON Value
- serialize
- Serialize a JSON Value into a compact JHON string
- serialize_pretty
- Serialize a JSON Value into a pretty-printed JHON string with custom indentation
- to_string
- Serialize any type that implements
Serialize into a JHON string. - to_string_pretty
- Serialize any type that implements
Serialize into a pretty-printed JHON string.
- Result
- Convenience alias used throughout the crate.