json_escape

Function json_escape 

Source
pub fn json_escape(s: &str) -> String
Expand description

Escape a string for safe embedding inside a JSON double-quoted value.