Function serde_hjson::ser::quote_str [] [src]

pub fn quote_str<W, F>(wr: &mut W, formatter: &mut F, value: &str) -> Result<()> where W: Write, F: Formatter

Serializes and escapes a &str into a Hjson string.