[Overview][Classes][Procedures and functions][Index] | Reference for unit 'JSONPropStorage' (#lcl)

# TCustomJSONPropStorage.RootObjectPath

Name of the root JSON object in the JSON file where session properties are stored.

## Declaration

Source position: jsonpropstorage.pas line 44

`public property TCustomJSONPropStorage.RootObjectPath : string read FRootObjectPath write FRootObjectPath;`

## Description

RootObjectPath is a String property with the path to the JSON element where the SessionProperties for the form (or frame) are stored in the JSON file. When assigned, its value is used as the RootSection for the class instance. When not assigned, the component name hierarchy up to the Root object is used.

Use JSONFileName to specify the name for the JSON file used to store session property values.

Use Active to enable or disable read or write operations using the JSON storage mechanism.

## See also

TCustomJSONPropStorage.JSONFileName |  | Name of the file where the session property names and values are saved in JSON format.
TCustomPropertyStorage.RootSection |  | Gets the path needed to represent the section for the Root (Owner) component.