grapple.json.JsonNumber
See theJsonNumber companion object
sealed trait JsonNumber extends JsonValue
Represents JSON number.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Abstract methods
Gets value as BigDecimal
.
Gets value as BigDecimal
.
Attributes
Gets value as BigInt
.
Gets value as BigInt
.
Attributes
- Throws
-
java.lang.ArithmeticException
if not represented exactly
Gets value as Double
.
Gets value as Double
.
Attributes
Gets value as Float
.
Gets value as Float
.
Attributes
Gets value as Int
.
Gets value as Int
.
Attributes
- Throws
-
java.lang.ArithmeticException
if not represented exactly
Gets value as Long
.
Gets value as Long
.
Attributes
- Throws
-
java.lang.ArithmeticException
if not represented exactly
In this article