EMS.Services.IEMSResourceResponseContent.TryGetObject
Delphi
function TryGetObject(out AJSONObject: TJSONObject): Boolean;
C++
virtual bool __fastcall TryGetObject(/* out */ System::Json::TJSONObject* &AJSONObject) = 0 ;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | EMS.Services.pas EMS.Services.hpp |
EMS.Services | IEMSResourceResponseContent |
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.