pub fn json_string_escaped_len<E: Copy>( value: &str, error: E, ) -> Result<usize, E>
Returns the checked length of JSON string contents after escaping.