nu_json::value

Function to_value

Source
pub fn to_value<T>(value: &T) -> Result<Value, Error>
where T: Serialize + ?Sized,