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


Enumerate the different kind of numerical types


Source position: fpjson.pp line 172

type TJSONNumberType = (



Floating point value



32-bit Integer value



TJSONNumberType is used to enumerate the different kind of numerical types: JSON only has a single 'number' format. Depending on how the value was parsed, FPC tries to create a value that is as close to the original value as possible: this can be one of integer, int64 or TJSONFloatType (normally a double). The number types have a common ancestor, and they are distinguished by their TJSONNumber.NumberType value.

See also



Kind of numerical data managed by this class.

Documentation generated on: Jun 22 2020