web api instance method
PaymentAddress: toJSON() method
Secure context
The toJSON() method of the PaymentAddress interface is a standard serializer that returns a JSON representation of the PaymentAddress object’s properties.
Syntax
toJSON()
Parameters
None.
Return value
A JSON object.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.