TJSONPropStorage.JSONFileName property
Name of the file where the session property names and values are saved in JSON format.
Declaration
property JSONFileName:;Description
JSONFileName is a
String property which contains the name
for the JSON file used to read and write SessionProperties values in the class
instance. Its value is used in GetJSONFileName to determine the file name used
in JSONConf when the storage mechanism is allocated for the class instance. An
explicit value assigned to the property is used when available.
When not assigned (''), a file name based on the executable file name is used. For example:
- For Windows
- The value in Application.Executable is converted to '.json' file extension and used as the JSON file name, like: 'D:\apps\project1.json'.
- For UNIX-like platforms
- The value in Application.Executable is converted to a hidden file in the HOME directory for the user, like: '~/babayaga/.project1'.
This description is the one of JSONPropStorage.TCustomJSONPropStorage.JSONFileName.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
