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

Invalid JSON symbol results in invalid JSON object and output #47

Open
m1h43l opened this issue Sep 17, 2021 · 0 comments
Open

Invalid JSON symbol results in invalid JSON object and output #47

m1h43l opened this issue Sep 17, 2021 · 0 comments

Comments

@m1h43l
Copy link
Contributor

m1h43l commented Sep 17, 2021

A symbol not specified by the JSON spec results in an invalid JSON object and output.

{ "string" : unknown } results in { "string" : unknown } which is exactly the same even as unknown is not a valid JSON symbol. This should fail but jx_error showed no error.

Unit test NOXDBUT1 test case TEST_INVALID_VALUE_UNKNOWN. Test file: unittests/data/parser/test23-invalid-value-unknown.json

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

1 participant