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

# TJSONData.Value

The value of this data object as a variant.

## Declaration

Source position: fpjson.pp line 163

`public property TJSONData.Value : TJSONVariant read GetValue write SetValue;`

## Description

Value returns the value of the data object as a variant when read, and converts the variant value to the native JSON type of the object. It does not change the native JSON type (TJSONType), so the variant value must be convertible to the native JSON type.

For complex types, reading or writing this property will raise an EConvertError exception.

## See also

TJSONType |  | Possible types of JSON data

Documentation generated on: May 14 2021