Function to_string

Source
pub fn to_string<T>(value: &T) -> Result<String>
where T: ?Sized + Serialize,
Expand description

Serialize the given data structure as a String of JSON.