Trait biscuit::CompactJson

source ·
pub trait CompactJson: Serialize + DeserializeOwned { }
Expand description

A marker trait that indicates that the object is to be serialized to JSON and deserialized from JSON. This is primarily used in conjunction with the CompactPart trait which will serialize structs to JSON before base64 encoding, and vice-versa.

Implementors