pub fn write_json_string(s: &str, out: &mut String)Expand description
Append s as a JSON string literal, escaped as RFC 8259 requires:
" and \\ escaped, control characters as \\uXXXX (with the short
forms for \\b \\f \\n \\r \\t), everything else as itself.