Stone.js API
    Preparing search index...
    • Parse a snapshot JSON string previously produced by serializeSnapshot / renderSnapshotScript. Escaped \uXXXX sequences are handled natively by JSON.parse, so no un-escaping step is required.

      Type Parameters

      • T = Record<string, unknown>

      Parameters

      • json: string

        The snapshot JSON string (element textContent).

      Returns T

      The parsed value, or an empty object if the input is empty/invalid.