arrow_json::writer

Type Alias LineDelimitedWriter

source
pub type LineDelimitedWriter<W> = Writer<W, LineDelimited>;
Expand description

A JSON writer which serializes [RecordBatch]es to newline delimited JSON objects.

Aliased Type§

struct LineDelimitedWriter<W> {
    writer: W,
    started: bool,
    finished: bool,
    format: LineDelimited,
    options: EncoderOptions,
}

Fields§

§writer: W

Underlying writer to use to write bytes

§started: bool

Has the writer output any records yet?

§finished: bool

Is the writer finished?

§format: LineDelimited

Determines how the byte stream is formatted

§options: EncoderOptions

Controls how JSON should be encoded, e.g. whether to write explicit nulls or skip them