Sign in Join
FPDoc Onlineexperiment

TJSONArray.Strings property

Member of TJSONArraypublicIn unit fpJson

Get or set elements as string values.

Declaration

pascal
property Strings[Index: Integer]: TJSONStringType read GetStrings write SetStrings;

Description

Strings gives direct access to the AsString property when reading. Reading it is the equivalent to accessing

Items[Index].AsString

When writing, it will check if a string JSON value is located at the given location, and replace it with the new value. If a non-string value is there, it is replaced with the written string value.

See also

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