I have a JSON object that when I do this:
console.log(response.json);
I get this
{ results:
[ { address_components: [Object],
formatted_address: 'Google Bldg 42, 1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA',
geometry: [Object],
place_id: 'ChIJPzxqWQK6j4AR3OFRJ6LMaKo',
types: [Object] } ],
status: 'OK' }
I want to be able to select formated_address
as an example. I've tried variations of console.log(response.json.formatted_address);
that but I can't quite figure it out.