Skip to main content
Table of Contents

TTMSMCPWriter.WriteArray Method

Serializes an array of objects under the specified JSON key.

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

Syntax

TMS.MCP.Persistence.hppPascalC++
procedure WriteArray(AName: string; AArray: TTMSMCPObjectArray);
void __fastcall WriteArray(System::UnicodeString AName, TTMSMCPObjectArray AArray);

Parameters

Name Description
AName The JSON key name for the array.
AArray The array of objects to serialize.