@omnist-dev/omnist
    Preparing search index...

    Interface WriteJsonOptions

    Options for serializing a Document node into JSON text.

    interface WriteJsonOptions {
        indent?: number | null;
        report?: WriteReport;
        strict?: boolean;
    }
    Index
    indent?: number | null

    Indent width in spaces (default 2), or null for compact single-line JSON.

    report?: WriteReport

    Optional WriteReport accumulator to collect adjustments into.

    strict?: boolean

    If true, throws WriteError if any lossy adjustments are made (e.g. NaN/Infinity -> null).