Skip to content
New issue

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

Missing commas does not fail in strict mode #217

Open
nrbrook opened this issue Feb 18, 2022 · 1 comment
Open

Missing commas does not fail in strict mode #217

nrbrook opened this issue Feb 18, 2022 · 1 comment

Comments

@nrbrook
Copy link

nrbrook commented Feb 18, 2022

The following test fails in strict mode:

check(parse("{\"a\": \"a\" \"b\":\"b\"}", JSMN_ERROR_INVAL, 5));

Surely this should result in JSMN_ERROR_INVAL?

@pt300
Copy link
Collaborator

pt300 commented Feb 18, 2022

You are correct and it is a currently known bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants