If allowDuplicateKeys is set to true, the parser will fail if it encounters an object
containing duplicate keys.
If allowDuplicateKeys is set to true, the parser will fail if it encounters an object
containing duplicate keys. Note that duplicate keys are not prohibited by the JSON
specification, but many linters and other processors do not handle them.
Returns a parser that fails on:
Returns a parser that fails on:
In some cases excessively long values (e.g. JSON numbers with millions of
digits) may support denial-of-service attacks. For example, the string
constructor for Java's BigInteger is quadratic with the length of the
input, and decoding a ten-million digit JSON number into a BigInteger may
take minutes.
Returns a parser that fails on:
Returns a parser that fails on:
In some cases excessively long values (e.g. JSON numbers with millions of
digits) may support denial-of-service attacks. For example, the string
constructor for Java's BigInteger is quadratic with the length of the
input, and decoding a ten-million digit JSON number into a BigInteger may
take minutes.
If allowDuplicateKeys is set to true, the parser will fail if it encounters an object
containing duplicate keys. Note that duplicate keys are not prohibited by the JSON
specification, but many linters and other processors do not handle them.