[][src]Function alfred::json::write_items

pub fn write_items<W: Write>(w: W, items: &[Item]) -> Result<()>

Writes a complete JSON document representing the Items to the Write.

The Write is flushed after the JSON document is written.