PaymentAddress.toJSON()

Experimental

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

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

Syntax

var json = PaymentAddress.toJSON()

Parameters

None.

Return value

A JSON object.

Specifications

Specification Status Comment
Web IDL
The definition of 'toJSON()' in that specification.
Candidate Recommendation Initial definition.

Browser compatibility

BCD tables only load in the browser