pub fn json_string<T: DisplayJson>(t: &T) -> StringExpand description
Render a type t: T as ExplainFormat::Json.
ยงPanics
Panics if the DisplayJson::to_serde_value or the subsequent
serde_json::to_string_pretty call return a serde_json::Error.