- java.lang.Object
-
- org.eclipse.parsson.JsonNumberImpl
-
- org.eclipse.parsson.JsonNumberImpl.JsonNumberNumber
-
- All Implemented Interfaces:
jakarta.json.JsonNumber
,jakarta.json.JsonValue
- Enclosing class:
- JsonNumberImpl
private static final class JsonNumberImpl.JsonNumberNumber extends JsonNumberImpl
-
-
Field Summary
Fields Modifier and Type Field Description private java.math.BigDecimal
bigDecimal
private java.lang.Number
num
-
Constructor Summary
Constructors Constructor Description JsonNumberNumber(java.lang.Number num, int bigIntegerScaleLimit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigDecimal
bigDecimalValue()
java.lang.Number
numberValue()
-
Methods inherited from class org.eclipse.parsson.JsonNumberImpl
bigIntegerValue, bigIntegerValueExact, doubleValue, equals, getJsonNumber, getJsonNumber, getJsonNumber, getJsonNumber, getJsonNumber, getJsonNumber, getValueType, hashCode, intValue, intValueExact, isIntegral, longValue, longValueExact, toString
-
-