Address
struct that contains address information.Address
struct to decode and encode a string that contains JSON format.Address
and User
where a user has many addresses. Now receive a string with a nested JSON like '[{ "first_name": "Vitor", "last_name": "Oliveira", "hometown": "Rio de Janeiro", "addresses": [{ street_name: "Rua Princesa Isabel", city: "Rio de Janeiro", country: "Brazil" }] }]'
, decode and encode it.