Sign in Join
FPDoc Onlineexperiment

TJSONIniFile.UpdateFile procedure

Member of TJSONIniFilepublicIn unit JsonIni

Writes the JSON data to file

Declaration

pascal
procedure UpdateFile; override; overload
procedure UpdateFile(const AFileName: string); overload

Arguments

AFileName

The file name to write JSON data to

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.