Reads a boolean value from the JSON ini file
Source position: jsonini.pp line 60
public function TJSONIniFile.ReadBool( |
const Section: string; |
const Ident: string; |
Default: Boolean |
):Boolean; override; |
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 |
The boolean value or default if key not found or conversion failed
ReadBool reads a boolean value from the specified section and key. If the stored value is a JSON boolean, it is returned directly. For other value types, the method attempts to convert them to boolean. If the key is not found or conversion fails, the Default value is returned.
|
Writes a boolean value to the JSON ini file |