Parsing wrapped objects in JSON with Moshi
I'm trying to parse response from Google Places API with moshi. I only want to get name and location. Json looks like this:
{
"geometry": {
"location": {
"lat": 51.1167056,
"lng": 17.0260999
},
"viewport": {
"northeast": {
"lat": 51.1180545802915,
"lng": 17.0274488802915
},
"southwest": {
"lat":...