nu_json::value

Function to_value

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