You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
String json = "{'key':'1.056'}".replace("'", "\"");
final Any any = JsonIterator.deserialize(json);
any.get("key").toDouble();
Throws a JsonException from the JsonIterator class reportError method creating lots of garbage with the string building. This exception is then eaten up and it reverts back to Double.valueOf().
Is there a reason why an exception is thrown if you try and read a long with leading zeros?