Scan the input and check for malformed JSON. On SyntaxError
or UnexpectedEndOfInput
, returns false
. Returns any errors from the allocator as-is, which is unlikely, but can be caused by extreme nesting depth in the input.
Scan the input and check for malformed JSON. On SyntaxError
or UnexpectedEndOfInput
, returns false
. Returns any errors from the allocator as-is, which is unlikely, but can be caused by extreme nesting depth in the input.