Icon ReadStrings Method

procedure ReadStrings(Value: TStrings; KeyValue: Boolean=False)

Available In: Client and Server Applications

Use this method to read the strings for a TStrings class instance. The KeyValue parameter determines how the strings are read:
  • If the KeyValue parameter is True, then the strings are read as JSON property values from a series of JSON properties and populated as <Key>=<Value> strings in the TStrings instance.


  • If the KeyValue parameter is False, then the strings are read as a JSON array property and populated as normal strings in the TStrings instance.
Image