Member Junction
    Preparing search index...

    Interface JSONEscapingRepairResult

    Outcome of a RepairJSONEscaping attempt.

    interface JSONEscapingRepairResult {
        reason?: string;
        repaired: boolean;
        repairedOffsets: number[];
        text?: string;
        value?: any;
    }
    Index

    Properties

    reason?: string

    Why the repair stopped, when repaired is false.

    repaired: boolean

    True only when the input parsed after repair.

    repairedOffsets: number[]

    Zero-based offsets that were escaped, in the order they were fixed.

    text?: string

    The repaired JSON text, present only when repaired is true.

    value?: any

    The parsed value, present only when repaired is true.