Function nu_json::ser::quote_str

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

Serializes and escapes a &str into a Hjson string.