Module arrow2::io::json[][src]

Expand description

Convert data between the Arrow memory format and JSON line-delimited records.

Structs

Produces JSON output as a single JSON array. For example

Produces JSON output with one record per line. For example

JSON Reader

JSON file reader builder

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.

Traits

This trait defines how to format a sequence of JSON objects to a byte stream.

Functions

Infer the fields of a JSON file by reading the first n records of the buffer, with max_read_records controlling the maximum number of records to read.

Infer the fields of a JSON file by reading all items from the JSON Value Iterator.

Infer the fields of a JSON file by reading the first n records of the file, with max_read_records controlling the maximum number of records to read.

Serializes a RecordBatch into Json

Type Definitions

A JSON writer which serializes RecordBatches to JSON arrays

A JSON writer which serializes RecordBatches to newline delimited JSON objects