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

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;

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

ReadSection

  

Reads all key names from a section

ReadSections

  

Reads all section names from the JSON ini file


Documentation generated on: Jan 27 2026