I have an address field which has some value and I need to convert address to string and store it in a text area field.
when i did
String.valueof(a.ShippingAddress)
its returning
system.Address[getCity=Columbia;getCountry=null;getCountryCode=null;getPostalCode=22036;getState=MD;getStateCode=null;getStreet=1505 21st Street NW;]
I just need to get the address as it appears in shipping address field. How can I serialise it to a string?