Skip to main content

Module serde_ext

Module serde_ext 

Source
Expand description

Tools for (de)serialization

Re-exports§

pub use bytes_wrapper::BytesWrapper;

Modules§

bytes_wrapper

Structs§

ByteArray
Wrapper around [u8, N] that (de)serializes using the byte buffer (instead of sequence) data type.
ByteArrayVisitor 🔒
Extracts a ByteArray from a serde::Deserializer.
Skip
Deserializes nothing, useful for ignoring deprecated fields in types annotated with #[serde(deny_unknown_fields)].

Functions§

default_object
Deserializes an empty (json) object to a type T. Panics if this is not possible.