Skip to content

TJSONIniFile.ReadSection

Reads all key names from a section

Declaration

Source position: jsonini.pp line 73

public 
procedure TJSONIniFile.ReadSection(const Section: string; 
                                  Strings: TStrings);  override;

Description

ReadSection reads all key names from the specified section and adds them to the Strings list. Only keys with actual values (not JSON objects or arrays) are included in the list. If the section does not exist, the list remains unchanged.

See also

Name Description
ReadSections Reads all section names from the JSON ini file
ReadSectionValues Reads all key-value pairs from a section