Sign in Join
FPDoc Onlineexperiment

TJSONIniFile.CacheUpdates property

Member of TJSONIniFilepublicIn unit JsonIni

Controls when changes are written to file

Declaration

pascal
property CacheUpdates: Boolean read FCacheUpdates write SetCacheUpdates;

Description

CacheUpdates controls when changes to the JSON data are written to the file. When CacheUpdates is True, changes are cached in memory and only written to file when UpdateFile is called explicitly or when CacheUpdates is set to False. When CacheUpdates is False, changes are written to file immediately.

See also

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