Skip to main content
Table of Contents

TTMSMCPPersistence.SaveSettingsToFile Method

Serializes the given object to a JSON file.

API unit family: TMS.MCP.Persistence Declaring type: TTMSMCPPersistence

Syntax

TMS.MCP.Persistence.hppPascalC++
class procedure SaveSettingsToFile(AObject: TObject; AFileName: string);
__classmethod void __fastcall SaveSettingsToFile(System::TObject* AObject, System::UnicodeString AFileName);

Parameters

Name Description
AObject The object to serialize.
AFileName The path of the JSON file to write.