Optional ReadonlymaxThe deepest nesting accepted, counted in levels of node nesting from the
Document root (the root is level 1): at 3, a: { b: { c: 1 } } is read
and a: { b: { c: { d: 1 } } } is refused with document.limit.depth at
$. Default 200. Raising it far is bounded by the JavaScript call stack.
OptionalmaxThe largest input, in UTF-8 bytes, that is read at all (spec D-23,
Sec2.4.2): a larger input is refused with document.limit.input-size at
$ before it is decoded or parsed; one of exactly this size is accepted.
A leading byte-order mark counts. Default 64 MiB; an integer of at least
1, else a RangeError.
Optional ReadonlymaxThe most decimal digits an integer's value may have, sign excluded; a hex,
octal, binary or underscored literal is counted by the value it denotes
(D-28). More is refused with document.limit.int-digits at the literal's
Document path. Default 4300.
Optional ReadonlymaxThe most nodes one Document may hold, the root included and scalar leaves
not. More is refused with document.limit.nodes at $. Default 1 000 000.
OptionalschemaOptional Schema for schema-directed materialization (spec §4).
Options for parsing TOML text into a Document node.