Skip to content

0.5.0beta2

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().
Assets 2
Loading