toJSON
The toJSON() method of the PushSubscription interface returns a JSON-serializable plain object representing the PushSubscription object.
The toJSON() method of the PushSubscription interface returns a JSON-serializable plain object representing the PushSubscription object.