Back to Content

ContactAddress: toJSON() method

files/en-us/web/api/contactaddress/tojson/index.md

latest425 B
Original Source

{{securecontext_header}}{{APIRef("Contact Picker API")}}{{SeeCompatTable}}

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

Syntax

js-nolint
toJSON()

Parameters

None.

Return value

A JSON object.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}