pub fn escaped_len(text: &str) -> usizeExpand description
The bytes text takes written inside a JSON string, as a frame message travels in its
application data (§5.1): " and \ take two, the control characters JSON writes as
\b, \t, \n, \f, \r two, every other control character six (\u00XX).