serde::json

Function to_string

source
pub fn to_string<T: Serialize>(
    value: &T,
) -> Result<String, JsonSerializationError>
Expand description

Serialize a value of type T to a string.