ContactAddress: toJSON() method

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The toJSON() method of the ContactAddress interface is a standard serializer that returns a JSON representation of the ContactAddress object's properties.

Syntax

js
toJSON()

Return value

A JSON object.

Specifications

Specification
Contact Picker API
# dom-contactaddress-toJSON

Browser compatibility

BCD tables only load in the browser