polars_json::json::write

Function write

Source
pub fn write<W, I>(writer: &mut W, blocks: I) -> PolarsResult<()>
where W: Write, I: FallibleStreamingIterator<Item = [u8], Error = PolarsError>,
Expand description

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