Skip to content

TJSONIniFile.ReadString

Reads a string value from the JSON ini file

Declaration

Source position: jsonini.pp line 57

public 
function TJSONIniFile.ReadString(const Section: string; 
                                const Ident: string; 
                                const Default: string) : string
                                ;  override;

Description

ReadString reads a string value from the specified section and key. If the key is not found, the Default value is returned. For structured JSON values (objects or arrays), the JSON representation is returned as a string. For other values, the string representation is returned.

See also

Name Description
WriteString Writes a string value to the JSON ini file
TCustomIniFile.ReadString Read a string valued key.