Skip to content

TJSONIniFile.CacheUpdates

Controls when changes are written to file

Declaration

Source position: jsonini.pp line 81

public property CacheUpdates: Boolean;

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

Name Description
UpdateFile Writes the JSON data to file