Creates a new TJSONIniFile instance
Source position: jsonini.pp line 53
public constructor TJSONIniFile.Create( |
const AFileName: string; |
AOptions: TIniFileOptions = [] |
); override; overload; |
AStream: TStream; |
AOptions: TJSONOptions |
); overload; |
AFileName |
|
The file name for the JSON ini file |
AOptions |
|
Ini file options or JSON parsing options |
AStream |
|
Stream containing JSON data to parse |
AOptions |
|
Ini file options or JSON parsing options |
Create creates a new TJSONIniFile instance. The constructor has two overloaded forms:
If the file specified in AFileName does not exist, a new empty JSON object is created. If the file exists, it is parsed as JSON and loaded into memory.
|
Writes the JSON data to file |
|
|
Instantiate a new instance of TCustomIniFile. |