intValue method
The value of a NumericNode as an int, when it is one exactly;
throws a JsonNodeException for a fraction (1.5), NaN, infinity
and other nodes.
Implementation
int intValue() => throw _wrong('a number');
The value of a NumericNode as an int, when it is one exactly;
throws a JsonNodeException for a fraction (1.5), NaN, infinity
and other nodes.
int intValue() => throw _wrong('a number');