pub fn write<W, I>(writer: &mut W, blocks: I) -> Result<(), Error> where
    W: Write,
    I: FallibleStreamingIterator<Item = [u8], Error = Error>, 
Available on crate feature io_json only.
Expand description

Writes valid JSON from an iterator of (assumed JSON-encoded) bytes to writer