JSONNumber
A JSONNumber is a JSON number. It provides convenience methods for extracting numeric values in different formats.
Author
Todd L Smith
Constructors
Link copied to clipboard
Construct a new JSONNumber.
Link copied to clipboard
Construct a new JSONNumber.
Link copied to clipboard
Construct a new JSONNumber.
Link copied to clipboard
Construct a new JSONNumber.
Link copied to clipboard
Construct an instance based on a BigDecimal.
Functions
Properties
Link copied to clipboard
The BigDecimal that encodes this value.
Link copied to clipboard
Get the numeric value as a BigInteger.
Link copied to clipboard
Extract a Boolean, or throw a ClassCastException if the value is not a boolean.
Link copied to clipboard
Extract a String, or throw a ClassCastException if the value is not a string.