columna API reference - v0.4.0
    Preparing search index...

    Type Alias ReadJsonOptions

    ReadJsonOptions: IoLoadOptions & {
        int64?: Int64Policy;
        lines?: boolean;
        nRows?: number;
        orient?: "records" | "columns" | "values" | "lines";
        skipRows?: number;
    }

    Type Declaration

    • Optionalint64?: Int64Policy

      Integer literals beyond ±(2^53 − 1) (JSON.parse would round them silently): 'error' (default) throws PrecisionLossError, 'string' keeps the column as exact decimal strings, 'number' accepts the nearest double.

    • Optionallines?: boolean

      Read newline-delimited JSON (NDJSON). Alias of orient:'lines'.

    • OptionalnRows?: number

      Max records to read.

    • Optionalorient?: "records" | "columns" | "values" | "lines"

      records = array of objects (default); columns = {col: values[]}; lines = NDJSON.

    • OptionalskipRows?: number

      Skip first N lines (NDJSON) or N array elements.