Function json_fromatter

Source
pub fn json_fromatter<T>(pretty: bool, value: &T) -> String
where T: Serialize,
Expand description

Formats a value as a JSON string.