write_utf8

Macro write_utf8 

Source
macro_rules! write_utf8 {
    ($w:ident, $s:ident, $f:expr) => { ... };
}
Expand description

Write a UTF-8 string as JSON string, including leading and trailing quotes.

This uses $f to format byte slices that do not need to be escaped.