Module de

Module de 

Source
Expand description

JSON serde deserializer

Structs§

Deserializer
Serde JSON deserializer.
StringByteBase64Decoder
Convert strings to byte arrays by decoding BASE-64 encoded strings
StringByteHexDecoder
Convert strings to byte arrays by decoding HEX-encoded strings
StringByteNopeDecoder
Convert strings to byte arrays by unescaping original JSON strings without any additional decoding

Enums§

Error
Deserialization error

Traits§

CheckedSub
Helper trait for parsing negative integers
NumParseTool
Helper trait for parsing integers
StringByteDecoder
Auxiliary trait for objects implementing string to bytes decoding.

Functions§

from_mut_slice
Deserialize an instance of type T from a mutable slice of bytes of JSON text.
from_mut_slice_base64_bytes
Deserialize an instance of type T from a mutable slice of bytes of JSON text.
from_mut_slice_hex_bytes
Deserialize an instance of type T from a mutable slice of bytes of JSON text.
from_mut_slice_with_decoder
Deserialize an instance of type T from a mutable slice of bytes of JSON text.

Type Aliases§

DeserializerBase64ByteStr
JSON deserializer with bytes deserialized from BASE-64 encoded strings
DeserializerHexByteStr
JSON deserializer with bytes deserialized from HEX-encoded strings
DeserializerNopeByteStr
JSON deserializer with bytes deserialized from JSON strings (with unescaping) without any additional decoding
Result
Deserialization result