TCustomJSONPropStorage.DoEraseSections procedure
Performs actions needed to remove the entry (and all of its child entries) at the specified path in the JSON storage.
Declaration
procedure DoEraseSections(const ARootObjectPath: string); overrideDescription
DoEraseSections is an overridden method used to remove the named
section and all of the identifiers stored at the path in ARootObjectPath. It
implements the EraseSections method in the TCustomPropertyStorage ancestor.
DoEraseSections calls FixPath to convert dotted component and property names in ARootObjectPath to their XPATH-like notation used to access the elements in JSONConf. For example: 'TApplication.Form1' becomes 'TApplication/Form1'. The DeletePath method in JSONConf is called to remove the JSON element and any identifiers nested below the target element.
Use Active to enable or disable read and write operations to the JSON property storage mechanism.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
