Skip to main content
Table of Contents

TTMSFNCWebPushNotification.ToJSON Method

Serializes the notification into the JSON payload string sent to the push service. Only fields with a value are included; the text direction is emitted only for an explicit left-to-right or right-to-left setting.

API unit family: TMS.TMSFNCWebPushSender Declaring type: TTMSFNCWebPushNotification

Syntax

TMS.TMSFNCWebPushSender.hppPascalC++
function ToJSON: string;
System::UnicodeString __fastcall ToJSON();

Returns

JSON string representing the notification payload.