Skip to content

TJSONNumber

Common ancestor for the numerical value JSON classes.

Declaration

Source position: fpjson.pp line 222

type

  TJSONNumber = class(TJSONData)
  public
    class function JSONType : TJSONtype;
    class function NumberType : TJSONNumberType;
  end;

Description

TJSONNumber is an abstract class which serves as the ancestor for the 3 numerical classes. It should never be instantiated directly. Instead, depending on the kind of data, one of TJSONIntegerNumber, TJSONInt64Number or TJSONFloatNumber should be instantiated.

Methods

Member Visibility Description
JSONType public native JSON data type.
NumberType public Kind of numerical data managed by this class.
See all Methods

See also

Name Description
TJSONIntegerNumber Class to represent 32-bit integer JSON data.
TJSONInt64Number Class to represent 64-bit integer JSON data.
TJSONFloatNumber Class to represent floating-point JSON data.