Function serde_json::ser::escape_str
[−]
[src]
pub fn escape_str<W>(wr: &mut W, value: &str) -> Result<()> where W: Write
Serializes and escapes a &str
into a JSON string.