REST.Backend.PushTypes.TPushData.SaveMessage

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SaveMessage(const AJSON: TJSONObject; const AName: string);

C++

void __fastcall SaveMessage(System::Json::TJSONObject* const AJSON, const System::UnicodeString AName);

Properties

Type Visibility Source Unit Parent
procedure
function
public
REST.Backend.PushTypes.pas
REST.Backend.PushTypes.hpp
REST.Backend.PushTypes TPushData

Description

Adds a key-value pair to the specified JSON object, where the key is the specified key (AName) and the value is the message of the push data object.

If the AName key already exists in the AJSON object, SaveMessage replaces its content.

See Also