Sign in Join
FPDoc Onlineexperiment

TJSONIniFile.ReadSectionValues procedure

Member of TJSONIniFilepublicIn unit JsonIni

Reads all key-value pairs from a section

Declaration

pascal
procedure ReadSectionValues(const Section: string; Strings: TStrings; 
 AOptions: TSectionValuesOptions=[svoIncludeInvalid])
 ; override; overload

Arguments

Section

The section name to read key-value pairs from

Strings

String list to store the key-value pairs

AOptions

Options controlling which values to include

Description

ReadSectionValues reads all key-value pairs from the specified section and adds them to the Strings list in the format "key=value". The AOptions parameter controls which types of values are included. If svoIncludeInvalid is in AOptions, structured JSON values (objects and arrays) are included as their JSON representation.

See also

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