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 RecordBatches 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

Construct a new writer

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

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.