Function to_value

Source
pub fn to_value<T>(value: T) -> Result<Value, SerializationError>
where T: Serialize,