Function to_value

Source
pub fn to_value<T>(input: T) -> Result<Value>
where T: Serialize,
Expand description

Transform any Serialize value to a Value.