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.
Placeholder
A deprecated field that is ignored on read and re-emitted as a fixed placeholder on write.

Functions§

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