[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'fpjson' (#fcl)

# TJSONNumber

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Common ancestor for the numerical value JSON classes.

## Declaration

Source position: fpjson.pp line 193

`type TJSONNumber = class(TJSONData)`
`public`
`class function JSONType; override;` |  | native JSON data type
`class function NumberType; virtual; abstract;` |  | Kind of numerical data managed by this class.
`end;`

## Inheritance

`TJSONNumber` |  | Common ancestor for the numerical value JSON classes.
`TJSONData` |  | Base (abstract) object for all JSON based data types
`TObject`

## 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.

## See also

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.