TJSONIniFile.UpdateFile¶
Writes the JSON data to file
Declaration¶
Source position: jsonini.pp line 78
public
procedure UpdateFile; override; overload; overload;
procedure UpdateFile(const AFileName: string); overload; overload;
Description¶
UpdateFile writes the current JSON data to the file. The method has two overloaded forms:
- UpdateFile() - writes to the file specified in the constructor
- UpdateFile(AFileName) - writes to the specified file
The JSON data is formatted with proper indentation before writing.
See also¶
| Name | Description |
|---|---|
| Create | Creates a new TJSONIniFile instance |
| CacheUpdates | Controls when changes are written to file |