to_value

Function to_value 

Source
pub(crate) fn to_value<T>(x: &T) -> Result<Value, Error>
where T: Serialize,