Struct JSONNumber

Represents a JSON number literal with lazy conversion.

struct JSONNumber ;

Constructors

NameDescription
this Constructs a JSONNumber from a raw number.

Properties

NameTypeDescription
bigIntValue[get, set] std.bigint.BigIntReturns the number as a BigInt value.
doubleValue[get, set] doubleReturns the number as a double value.
longValue[get, set] longReturns the number as a long value.
type[get] stdx.data.json.lexer.JSONNumber.TypeThe native type of the stored number.

Methods

NameDescription
opAssign Support assignment of numbers.
opCmp Support relational comparisons
opEquals Support equality comparisons
toHash Support use as hash key