open fun asDouble(): Double
Returns this JSON value as a 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, Double.POSITIVE_INFINITY or
Double.NEGATIVE_INFINITY is returned.
UnsupportedOperationException - if this value is not a JSON number
Return
this value as double