to_string

Function to_string 

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

Serialize the given data structure as a String of canonical JSON.