Crate json [−] [src]
JSON (RFC 7159) encoder and decoder implementations.
Reexports
pub use ast::Json; |
pub use decoder::{FromJson, Decoder, DecodeError, DecodeResult, Config}; |
pub use encoder::{ToJson, Encoder, EncodeError, EncodeResult}; |
Modules
ast |
JSON AST definition. |
decoder |
JSON (RFC 7159) decoder implementation. |
encoder |
JSON (RFC 7159) encoder. |
Macros
array |
Macro to support declarative decoding into |
extract |
Macro to support extraction of subsets of JSON object fields. |
object |
Macro to support declarative decoding into struct types. |
to_field |
Structs
Utf8Buffer |
UTF-8 encoding buffer over an u8-slice. |