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

primitive at root #102

wants to merge 2 commits into


None yet
1 participant

yasuoka commented Mar 3, 2017

Current jsmn disallows only a primitive at root. But RFC7159 allows that like followings:

JSON-text = ws value ws
value = false / null / true / object / array / number / string

So I think it should allow this even in JSMN_STRICT case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment