Struct arrow::json::writer::Writer [−][src]
pub struct Writer<W, F> where
W: Write,
F: JsonFormat, { /* fields omitted */ }
Expand description
A JSON writer which serializes RecordBatch
es to a stream of
u8
encoded JSON objects. See the module level documentation for
detailed usage and examples. The specific format of the stream is
controlled by the JsonFormat
type parameter.
Implementations
Write a single JSON row to the output writer
Convert the RecordBatch
into JSON rows, and write them to the output
Finishes the output stream. This function must be called after
all record batches have been produced. (e.g. producing the final ']'
if writing
arrays.
Unwraps this Writer<W>
, returning the underlying writer