Open foal opened 3 years ago
There is PR to fix it: #48
There are two errors:
BaseJsNumberArrayReader
- nextInt
crash on double in the array. It may be fixed with a simple change to nextDouble
, but I preferred to leave nextInt
for Integer and Short readers because they provide the more understandable error message if JSON array contains wrong formated INT values.
Below simple test case which fails with
java.lang.ClassCastException
exception is