EMS.Services.IEMSResourceResponseContent.TryGetValue

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 TryGetValue(out AJSONValue: TJSONValue): Boolean;

C++

virtual bool __fastcall TryGetValue(/* out */ System::Json::TJSONValue* &AJSONValue) = 0 ;

Description

If the response content is a valid JSON value, TryGetValue fills AJSONValue with the response content as an instance of TJSONValue and returns True. TryGetValue returns False otherwise.

See Also