Skip to main content
Table of Contents

TTMSMCPSamplingMessages.ToJSON Method

Builds the payload representation of the whole conversation.

API unit family: TMS.MCP.Sampling Declaring type: TTMSMCPSamplingMessages

Syntax

TMS.MCP.Sampling.hppPascalC++
function ToJSON: TJSONArray;
System::Json::TJSONArray* __fastcall ToJSON();

Returns

A new array holding every turn in order. The caller owns the returned value.