[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Access the raw JSON value as an 32-bit integer
Source position: fpjson.pp line 130
public property TJSONData.AsInteger : Integer |
AsInteger allows access to the raw value as a 32-bit integer value. When reading, it attempts to convert the native value of the data to a 32-bit integer value. When writing, it attempts to transform the 32-bit integer value to a native value. If either conversion fails, an EConvertError exception is raised.
For TJSONIntegerNumber this will return the native value.
For complex values, reading or writing this property will always result in an EConvertError exception.
AsFloat |
Value |
AsInt64 |
AsString |
AsBoolean |
IsNull |
AsJSON |