Size and nesting bounds for one untrusted document (§96).
Both fields are optional; an omitted field takes its documented default, and Number.POSITIVE_INFINITY disables that check for a caller who has decided, in writing, that the input is trusted.
Number.POSITIVE_INFINITY
Optional
Readonly
Maximum JSON nesting depth, counting the parsed value as level 1. Defaults to DEFAULT_MAXIMUM_DEPTH.
Maximum document text length in UTF-16 code units. Defaults to DEFAULT_MAXIMUM_TEXT_LENGTH.
Size and nesting bounds for one untrusted document (§96).
Both fields are optional; an omitted field takes its documented default, and
Number.POSITIVE_INFINITYdisables that check for a caller who has decided, in writing, that the input is trusted.