Function json5::to_string

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

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