Expand description
Logo by Misiasart
Thanks to all individual and corporate sponsors, without whom this work could not exist:
§facet-json
A JSON deserializer based on facet-deserialize
§License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Structs§
- Deser
Error - A JSON parse error, with context. Never would’ve guessed huh.
- Deser
Error Message - A wrapper type for displaying deser error messages
- Json
Serializer - A serializer for JSON format that implements the
facet_serialize::Serializertrait.
Enums§
- Deser
Error Kind - An error kind for JSON parsing.
- Serialize
Error - Serialization error for json, which cannot fail.
Traits§
- Json
Write no_stdcompatible Write trait used by the json serializer.
Functions§
- from_
slice - Deserialize JSON from a given byte slice
- from_
str - Deserialize JSON from a UTF-8 string slice
- peek_
to_ string - Serializes a
Peekinstance to a JSON string. - peek_
to_ writer - Serializes a
Peekvalue to JSON and writes it to the given writer. - to_
string - Serializes a value implementing
Facetto a JSON string. - to_
writer - Serializes a
Facetvalue to JSON and writes it to the given writer.