Skip to content

TJSONIniFile.ReadSectionValues

Reads all key-value pairs from a section

Declaration

Source position: jsonini.pp line 75

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

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

Name Description
ReadSection Reads all key names from a section
ReadSections Reads all section names from the JSON ini file