Constructor and Description |
---|
JsonNumber() |
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getBigDecimal()
Get number as BigDecimal.
|
java.lang.Integer |
getInteger()
Get number as Integer.
|
JsonNumber |
setValue(java.lang.String value)
Set number value.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
toFormattedString
public java.lang.Integer getInteger()
public java.math.BigDecimal getBigDecimal()
public JsonNumber setValue(java.lang.String value)
value
- string number representationpublic java.lang.String toString()
toString
in class java.lang.Object