sitemule / noxDB

Not only XML. SQL,JSON and XML made easy for IBM i
MIT License
41 stars 20 forks source link

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

Open m1h43l opened 3 years ago

m1h43l commented 3 years ago

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