EMS.Services.IEMSResourceResponseContent.TryGetObject
Delphi
function TryGetObject(out AJSONObject: TJSONObject): Boolean;
C++
virtual bool __fastcall TryGetObject(/* out */ System::Json::TJSONObject* &AJSONObject) = 0 ;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | EMS.Services.pas EMS.Services.hpp |
EMS.Services | IEMSResourceResponseContent |
Description
Si le contenu de la réponse est un objet JSON valide, TryGetObject remplit AJSONObject
avec ce contenu en tant qu'instance de TJSONObject et renvoie True
. Sinon, TryGetObject renvoie False
.