TTMSMCPPersistence.SaveSettingsToFile Method
Serializes the given object to a JSON file.
API unit family: TMS.MCP.Persistence
Declaring type: TTMSMCPPersistence
Syntax
class procedure SaveSettingsToFile(AObject: TObject; AFileName: string);
Parameters
| Name | Description |
|---|---|
AObject |
The object to serialize. |
AFileName |
The path of the JSON file to write. |