Skip to main content
Table of Contents

TTMSMCPElicitSchema.ToJSON Method

Builds the schema object describing every field that has been added.

API unit family: TMS.MCP.Elicitation Declaring type: TTMSMCPElicitSchema

Syntax

TMS.MCP.Elicitation.hppPascalC++
function ToJSON: TJSONObject;
System::Json::TJSONObject* __fastcall ToJSON();

Returns

A new object of schema type object whose properties member holds one entry per field. A required set is added only when at least one field is marked as required. The caller owns the returned object.