sitemule / noxDB

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

Parsing null value in JSON will be outputted/treated as an empty string #42

Open m1h43l opened 3 years ago

m1h43l commented 3 years ago

If a JSON string has a null value it will be outputted as an empty string.

{ "car" : null } will be serialized as{ "car" : "" }

Unit test NOXDBUT1 test case TEST_FLAT_OBJECT. Test file: unittests/data/parser/test4-flat-object.json