Skip to content

TJSONData.AsQWord

Access the raw JSON value as an 64-bit unsigned integer.

Declaration

Source position: fpjson.pp line 197

public property AsQWord: QWord;

Description

AsQWord allows access to the raw value as a 64-bit unsigned integer value. When reading, it attempts to convert the native value of the data to a 64-bit unsigned integer value. When writing, it attempts to transform the 64-bit unsigned integer value to a native value. If either conversion fails, an EConvertError exception is raised.

For TJSONQwordNumber this will return the native value.

For complex values, reading or writing this property will always result in an EConvertError exception.

See also

Name Description
AsFloat Access the raw JSON value as a float.
Value The value of this data object as a variant.
AsInteger Access the raw JSON value as an 32-bit integer.
AsInt64 Access the raw JSON value as an 64-bit integer.
AsString Access the raw JSON value as a string.
AsBoolean Access the raw JSON value as a boolean.
IsNull Is the data a null value ?
AsJSON Return a JSON representation of the value.