Skip to main content

write_items_jsonl

Function write_items_jsonl 

Source
pub fn write_items_jsonl<'a, I, T>(items: I, out: &mut dyn Write) -> Result<()>
where I: IntoIterator<Item = &'a T>, T: Serialize + 'a,
Expand description

Writes each item in an iterator as a single compact JSON line.