Sign in Join
FPDoc Onlineexperiment

TJSONData.Value property

Member of TJSONDatapublicIn unit fpJson

The value of this data object as a variant.

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.