pub type ArrayWriter<W> = Writer<W, JsonArray>;
Expand description
A JSON writer which serializes [RecordBatch
]es to JSON arrays.
Aliased Type§
struct ArrayWriter<W> {
writer: W,
started: bool,
finished: bool,
format: JsonArray,
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: JsonArray
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