toJSON method
The toJSON()
method of the PushSubscription interface is a
standard serializer: it returns a JSON representation of the subscription
properties,
providing a useful shortcut.
Implementation
external PushSubscriptionJSON toJSON();
The toJSON()
method of the PushSubscription interface is a
standard serializer: it returns a JSON representation of the subscription
properties,
providing a useful shortcut.
external PushSubscriptionJSON toJSON();