Skip to content

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;

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

Name Description
WriteInt64 Writes a 64-bit integer value to the JSON ini file
ReadInteger Reads an integer value from the JSON ini file