EMS.ResourceAPI.TEndpointRequestBody.GetObject

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetObject: TJSONObject;

C++

System::Json::TJSONObject* __fastcall GetObject();

Properties

Type Visibility Source Unit Parent
function public
EMS.ResourceAPI.pas
EMS.ResourceAPI.hpp
EMS.ResourceAPI TEndpointRequestBody

Description

Returns the body as an instance of TJSONObject or raises an exception.

If GetObject cannot return the body, it raises an EEMSEndpointError exception with the following message:

Body does not contain TJSONObject

See Also