I want to serialize just the Address object (lets call it an object) of Account (and Contact as well)
Is there a way to access the ShippingAddress/BillingAddress of the account using the JSON.serialize method?
I want to serialize just the Address object (lets call it an object) of Account (and Contact as well)
Is there a way to access the ShippingAddress/BillingAddress of the account using the JSON.serialize method?
Best Answer
Address information is surfaced in two ways on these objects...
This outputs...
NOTE: The Address type also supports the State and Country pick list feature if enabled in the org.