Skip to main content

write_json_line

Function write_json_line 

Source
pub fn write_json_line<T>(writer: &mut impl Write, val: &T) -> Result<(), Error>
where T: Serialize,
Expand description

Serialize val as a single JSON line and flush the writer (sync).