Some double values trigger trailing zeros when deserialized. ``` "field": 1.2932 (of type Double) ``` Is parsed as 1.2932000000000001 If you change the field to type Float then the value is correctly parsed. Again only certain numbers appear to be triggering this. You can replicate the issue like this. Define: ``` class Obj { Double field; } ``` Then execute: ``` String json = "{ \"field\" : 1.2932}"; Obj obj = JsonIterator.deserialize(json,Obj.class); System.out.println(obj.getField()); // 1.2932000000000001 ``` Same issue arises even if you use the `Any` api.
Activity
[-]Double parsed with trailing zeros?[/-][+]Double parsed with trailing zeros[/+]