REST.Response.Adapter.TRESTResponseJSON.SetJSONValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetJSONValue(const AValue: TJSONValue; AOwnsValue: Boolean);

C++

void __fastcall SetJSONValue(System::Json::TJSONValue* const AValue, bool AOwnsValue);

Properties

Type Visibility Source Unit Parent
procedure
function
public
REST.Response.Adapter.pas
REST.Response.Adapter.hpp
REST.Response.Adapter TRESTResponseJSON

Description

Sets the JSON value to AValue and notifies the subscribers about the change.

If you specify AOwnsValue as True, the destructor will free the JSON value.

See Also