Struct JSONNumber
Represents a JSON number literal with lazy conversion.
Properties
Name | Type | Description |
bigIntValue [get, set]
|
std.bigint.BigInt | Returns the number as a BigInt value.
|
doubleValue [get, set]
|
double | Returns the number as a double value.
|
longValue [get, set]
|
long | Returns the number as a long value.
|
type [get]
|
stdx.data.json.lexer.JSONNumber.Type | The native type of the stored number.
|
Methods
Name | Description |
opAssign
|
Support assignment of numbers.
|
opCmp
|
Support relational comparisons
|
opEquals
|
Support equality comparisons
|
toHash
|
Support use as hash key
|