Function fmt_str

Source
pub fn fmt_str(f: &mut Formatter<'_>, s: &str) -> Result
Expand description

Format a string as valid JSON string, including leading and trailing quotes.