diff --git a/pom.xml b/pom.xml index 8206454..fa09c03 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 de.arraying Kotys - 0.4.2 + 0.4.3 diff --git a/src/main/java/de/arraying/kotys/JSONTokenizer.java b/src/main/java/de/arraying/kotys/JSONTokenizer.java index 6694375..9937e3c 100644 --- a/src/main/java/de/arraying/kotys/JSONTokenizer.java +++ b/src/main/java/de/arraying/kotys/JSONTokenizer.java @@ -294,7 +294,7 @@ private void readNumber() if(decimal) { value = Double.valueOf(number); } else { - value = Integer.valueOf(number); + value = Long.valueOf(number); } push(value, decimal ? Type.TYPE_DOUBLE : Type.TYPE_INTEGER); }