[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Enumerate the different kind of numerical types
Source position: fpjson.pp line 182
type TJSONNumberType = ( |
||
ntFloat, |
|
Floating point value |
ntInteger, |
|
32-bit Integer value |
ntInt64, |
|
64-bit integer value |
ntQWord |
|
64-bit unsigned 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.
|
Kind of numerical data managed by this class. |