Sign in Join
FPDoc Onlineexperiment

TCustomJSONPropStorage.FreeStorage procedure

Member of TCustomJSONPropStoragepublicIn unit JSONPropStorage

Frees the TJSONConfig storage mechanism when no longer needed.

Declaration

pascal
procedure FreeStorage; override

Description

Frees the JSON storage mechanism in JSONConf when the internal usage counter reaches 0 (zero).

FreeStorage is called from methods like: Save, Restore, SaveProperties, RestoreProperties, ReadString, WriteString, ReadInteger, WriteInteger, and EraseSections.

See StorageNeeded for the actions performed when the JSON storage mechanism in JSONConf is allocated and configured for the class instance.

See also

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