Skip to main content

to_string

Function to_string 

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

Serializes a value to JSON.

This uses the default SerializerConfig.