Closed danlopezv closed 9 years ago
Unfortunately that library is not part of this repository and is being linked with at runtime. Not much we can do about it here. I recommend using a string type to extract such attributes and then using a custom function to convert to appropriate numeric value, as a workaround.
My intention was to point out the issue so it can be fixed on a future release. I know the library is not part of this repository but it's still an IBM implementation and it's the heart and soul of this toolkit. Any suggestion where I can submit this issue? Thanks.
Whenever the json object contains an element with value = 0E-10 the method processing the number throws an exception. The problem is in the JSON4J library, Tokenizer class, readNumber() method. I ran a test using the Tokenizer class directly:
and this is the error I got:
However, if the value is 0.0E-10 everything works fine:
or the value is 2E-10: