[Overview][Classes][Procedures and functions][Index] |
Performs actions needed to remove the entry (and all of its child entries) at the specified path in the JSON storage.
Source position: jsonpropstorage.pas line 41
public procedure TCustomJSONPropStorage.DoEraseSections( |
const ARootObjectPath: string |
); override; |
ARootObjectPath |
|
The path to the JSON element (section) removed in the method. |
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.
|
TJSONConfig instance used to store path/value pairs. |
|
|
Converts component/property names using '.' delimiters to the '/' delimiter used for the JSON notation in the JSONConfig storage mechanism. |
|
|
Removes all sections that are descendants of the specified root section. |
|
|
Indicates whether the container is Active and allows access to its storage. |
Version 4.0 | Generated 2025-05-03 | Home |