json library

Lossless binding-owned JSON; this is not Arrow IPC.

Classes

OwnedBatchJsonCodec
JSON codec for the protocol's copied, binding-owned logical column batches.

Functions

scalarFromJson(DataType type, Object? json, {Array? dictionary}) → Scalar
Decodes and validates a scalar in the owned-JSON physical value format.
scalarToJson(Scalar value) → Object?
Encodes an exact physical scalar value in the owned-JSON value format. Dictionary scalars encode their index; dictionary storage is supplied separately. This custom representation is not Arrow IPC.