pub fn serialize<T: Serialize>(t: &T) -> Value
Expand description

Serialize a type. Panics if the type is returns error during serialization.