to_string

Function to_string 

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

Attempts to serialize the input as a JSON5 string (actually a JSON string).