Float
values with integer value beyond int
lose precision if bound to long
#1940
Milestone
Float
values with integer value beyond int
lose precision if bound to long
#1940
Jackson version: 2.9.4
Sample code demonstrating the problem:
It's caused by this line. Curiously enough, it works fine if you deserialize a plain float value into
Long.class
since that usesTreeTraversingParser
instead ofTokenBuffer
.The text was updated successfully, but these errors were encountered: