the untrusted document text
what the document is, e.g. "Scene document" — used in the
message and carried as context.document
Optionallimits: UntrustedJsonLimits
the caller's bounds; omitted fields take their defaults
the parsed value, unvalidated beyond its size and shape bounds
Parses untrusted JSON text under §96's size and nesting bounds.
The order is deliberate: the text length is checked before
JSON.parseallocates anything, and the depth is checked before the result reaches any recursive validator. A caller that skips this and callsJSON.parseitself gets neither guarantee.