pub fn json_minify(input: &str) -> Result<String, String>
Minify JSON to its most compact single-line form.
Returns an error when the input is not valid JSON.