Skip to main content

write_json

Function write_json 

Source
pub fn write_json<W: Write>(out: &mut W, input: &str) -> Result
Expand description

writes the JSON-encoded form of input to out.

see for_json for encoding rules.