Skip to main content

ser

Function ser 

Source
pub fn ser<T: Serialize>(val: T) -> Result<Value, JmapError>
Expand description

Serialize any serde::Serialize type to a serde_json::Value, mapping serialization errors to JmapError::server_fail.