EMS.Services.IEMSResourceResponseContent.TryGetObject

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
EMS.Services.pas
EMS.Services.hpp
Unit: EMS.Services
Parent: IEMSResourceResponseContent

Delphi

function TryGetObject(out AJSONObject: TJSONObject): Boolean;

C++

virtual bool __fastcall TryGetObject(/* out */ System::Json::TJSONObject* &AJSONObject) = 0 ;

Description

If the response content is a valid JSON object, TryGetObject fills AJSONObject with the response content as an instance of TJSONObject and returns True. TryGetObject returns False otherwise.

See Also