[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 120

public property TJSONData.Value : variant
  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 (JSONType), so the variant value must be convertable to the native JSON type.

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

See also

JSONType


Documentation generated on: Nov 14 2015