Skip to main content

json_string_escaped_len

Function json_string_escaped_len 

Source
pub fn json_string_escaped_len<E: Copy>(
    value: &str,
    error: E,
) -> Result<usize, E>
Expand description

Returns the checked length of JSON string contents after escaping.