pub fn json_escape(input: &str) -> String
Escapes a string for use inside a JSON string literal.
The returned text does not include the surrounding quote characters.