Georeferencing API
    Preparing search index...

    Function parseSession

    • Parse and validate a version-1 JSON session without restoring image bytes or trusting cached fits.

      Unknown schema versions, invalid identities, stale confirmation, inconsistent provenance and structurally invalid drafts are rejected. Use the controller's restoreSession to verify the matching original image.

      Parameters

      • text: string

      Returns Document

      SyntaxError For malformed JSON.

      core.GeoreferenceError For invalid session data.