Unit 'JsonIni' Package
[Overview][Classes][Index] [#fcl]

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;

Arguments

Section

  

The section name to read keys from

Strings

  

String list to store the key names

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

ReadSections

  

Reads all section names from the JSON ini file

ReadSectionValues

  

Reads all key-value pairs from a section


Documentation generated on: Jan 27 2026