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

TJSONIniFile.ReadInt64

Reads a 64-bit integer value from the JSON ini file

Declaration

Source position: jsonini.pp line 59

public function TJSONIniFile.ReadInt64(

  const Section: string;

  const Ident: string;

  Default: Int64

):Int64; override;

Arguments

Section

  

The section name to read from

Ident

  

The key name to read

Default

  

Default value to return if key not found or conversion failed

Function result

The Int64 value or default if key not found or conversion failed

Description

ReadInt64 reads a 64-bit integer value from the specified section and key. If the stored value is a JSON number, it is converted to Int64. If the stored value is a string, it attempts to parse it as a 64-bit integer. If the key is not found or conversion fails, the Default value is returned.

See also

WriteInt64

  

Writes a 64-bit integer value to the JSON ini file

ReadInteger

  

Reads an integer value from the JSON ini file


Documentation generated on: Jan 27 2026