We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The parser doesn't check for the case when there is a ',' followed by nothing so strings like "[1,]" , '{"a":1,}' pass as valid JSONs
The text was updated successfully, but these errors were encountered:
I believe this is intentional, though if it's really a problem perhaps a parser flag could be added for it?
Sorry, something went wrong.
Indeed, this is not a JSON validator. This is a JSON parser. Parsers tend to be more lenient. Why is this a problem?
https://stackoverflow.com/questions/201782/can-you-use-a-trailing-comma-in-a-json-object#11495287
No branches or pull requests
The parser doesn't check for the case when there is a ',' followed by nothing so strings like "[1,]" , '{"a":1,}' pass as valid JSONs
The text was updated successfully, but these errors were encountered: