Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The json()
method of the PushMessageData
interface extracts push message data by parsing it as a JSON string and returning the result.