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

class function FromJSON(const AJson: TJSONObject): TTMSMCPElicitResult; static;

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.