[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Access the raw JSON value as a float
Source position: fpjson.pp line 160
public property TJSONData.AsFloat : TJSONFloat |
AsFloat allows access to the raw value as a floating-point value. When reading, it converts the native value of the data to a floating-point. When writing, it attempts to transform the floating-point value to a native value. If this conversion fails, an EConvertError exception is raised.
For TJSONFloatNumber this will return the native value.
For complex values, reading or writing this property will always result in an EConvertError exception.
|
Access the raw JSON value as an 32-bit integer |
|
|
The value of this data object as a variant. |
|
AsInt64 |
|
Access the raw JSON value as an 64-bit integer |
|
Access the raw JSON value as a string |
|
|
Access the raw JSON value as a boolean |
|
|
Is the data a null value ? |
|
|
Return a JSON representation of the value |