json-stream-lite - v1.3.0
    Preparing search index...

    Type Alias JsonStreamStringifyOptions

    Options for JSON streaming stringification.

    type JsonStreamStringifyOptions = {
        comments?: Record<
            string,
            JsoncStringifyComment
            | JsoncStringifyComment[],
        >;
        jsonc?: boolean;
        stringChunkSize?: number;
    }
    Index

    Properties

    comments?: Record<string, JsoncStringifyComment | JsoncStringifyComment[]>

    Comments to emit, keyed by dot-notation path. Only emitted when indent > 0.

    jsonc?: boolean

    Enable JSONC output (trailing commas after last items)

    stringChunkSize?: number

    Maximum size of string chunks when yielding formatted strings