pub fn to_string(value: &dyn Serialize) -> Result<String, Error>
Serializes a value to JSON.
This uses the default SerializerConfig.
SerializerConfig