pub trait AttributeCoder: Send + Sync {
// Required methods
fn dump(&self, value: &Value) -> Result<String, SerializationError>;
fn load(&self, raw: &str) -> Result<Value, SerializationError>;
}Expand description
Serializer contract for JSON-backed custom coders.