Skip to main content
Table of Contents

TTMSMCPElicitResult.FromJSON Method

Creates a result from the payload the client sent back.

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

Syntax

TMS.MCP.Elicitation.hppPascalC++
class function FromJSON(const AJson: TJSONObject): TTMSMCPElicitResult; static;
static TTMSMCPElicitResult* __fastcall FromJSON(System::Json::TJSONObject* const AJson);

Parameters

Name Description
AJson Answer payload to read the action and the supplied values from.

Returns

A new result owned by the caller. Members missing from the payload keep their default value, and the content is copied rather than referenced, so the payload can be released independently.