sitemule / noxDB

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

Multiple decimal points results in incorrect JSON #48

Open m1h43l opened 3 years ago

m1h43l commented 3 years ago

JSON spec defines that . (point) is always the decimal point regardless of the locale. So having multiple points in a number is an invalid number.

Note: jx_error didn't return an error.

Unit test NOXDBUT1 test case TEST_MULTIPLE_DECIMAL_POINTS. Test file: unittests/data/parser/test22-multiple-decimal-points.json