0.5.0beta2
fge
tagged this
13 May 19:39
The problem was with JsonNode's .canConvertToLong() method. The doc explicitly said, and I overlooked it, that: [...] floating-point numbers are convertible if the integral part fits without overflow Introduce a valueIsLong() helper method in NumericKeywordValidator which validates that the node type is indeed an integer, and only then try and see if node.canConvertToLong().