double
value, assuming that this value represents a JSON number. If this is not the case, an exception is thrown. If the JSON number is out of the Double
range, {@link Double#POSITIVE_INFINITY} or{@link Double#NEGATIVE_INFINITY} is returned.
double
@throws UnsupportedOperationException if this value is not a JSON number
If representation can not be converted to an int (including structured types like Objects and Arrays), default value of 0.0 will be returned; no exceptions are thrown.
double
value, assuming that this value represents a JSON number. If this is not the case, an exception is thrown. If the JSON number is out of the Double
range, {@link Double#POSITIVE_INFINITY} or{@link Double#NEGATIVE_INFINITY} is returned.
double
@throws UnsupportedOperationException if this value is not a JSON number
If representation can not be converted to an int (including structured types like Objects and Arrays), default value of 0.0 will be returned; no exceptions are thrown.
@since 1.9 (replaces getValueAsDouble
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|