Skip to main content
Table of Contents

TTMSFNCPersistence.SaveSettingsToFile Method

Serializes the given object to a JSON file.

API unit family: TMSFNCPersistence Declaring type: TTMSFNCPersistence

Syntax

FMX.TMSFNCPersistence.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.