pub fn to_value<T: ?Sized + Serialize>(x: &T) -> Result<Value>
json
parse
Convert a T into a JSON value