Extract all values from Json response

Hi All,

API which I used will list all the supermarket around your place. I am able to get the first one alone . sharing the blocks.

I tried using for loop to get all the values and get it displayed in the list viewer but for some reason its not happening.

Sharing the JSON response screen shot

JSON Response (click to reveal)

{
“type”: “FeatureCollection”,
“features”: [
{
“type”: “Feature”,
“properties”: {
“name”: “S.M Supermarket”,
“street”: “Tambaram-Sriperumbudur Highway”,
“suburb”: “Perungalathur”,
“city”: “Tambaram”,
“county”: “Tambaram”,
“state_district”: “Chengalpattu District”,
“state”: “Tamil Nadu”,
“postcode”: “600045”,
“country”: “India”,
“country_code”: “in”,
“lon”: 80.09240430718026,
“lat”: 12.92124825,
“formatted”: “S.M Supermarket, Tambaram-Sriperumbudur Highway, Perungalathur, Tambaram - 600045, Tamil Nadu, India”,
“address_line1”: “S.M Supermarket”,
“address_line2”: “Tambaram-Sriperumbudur Highway, Perungalathur, Tambaram - 600045, Tamil Nadu, India”,
“categories”: [
“building”,
“building.commercial”,
“commercial”,
“commercial.supermarket”
],
“details”: ,
“datasource”: {
“sourcename”: “openstreetmap”,
“attribution”: “© OpenStreetMap contributors”,
“license”: “Open Database Licence”,
“url”: “https://www.openstreetmap.org/copyright
},
“distance”: 468,
“place_id”: “51b57f52f1e9055440598423bd68add72940f00102f901949ffe1b0000000092030f532e4d2053757065726d61726b6574”
},
“geometry”: {
“type”: “Point”,
“coordinates”: [
80.09240372711686,
12.921244881714081
]
}
},
{
“type”: “Feature”,
“properties”: {
“name”: “Murugan Store”,
“street”: “Kannan Avenue Main Road”,
“suburb”: “Perungalathur”,
“city”: “Tambaram”,
“county”: “Tambaram”,
“state_district”: “Chengalpattu District”,
“state”: “Tamil Nadu”,
“postcode”: “600045”,
“country”: “India”,
“country_code”: “in”,
“lon”: 80.0933984,
“lat”: 12.9194941,
“formatted”: “Murugan Store, Kannan Avenue Main Road, Perungalathur, Tambaram - 600045, Tamil Nadu, India”,
“address_line1”: “Murugan Store”,
“address_line2”: “Kannan Avenue Main Road, Perungalathur, Tambaram - 600045, Tamil Nadu, India”,
“categories”: [
“commercial”,
“commercial.supermarket”
],
“details”: ,
“datasource”: {
“sourcename”: “openstreetmap”,
“attribution”: “© OpenStreetMap contributors”,
“license”: “Open Database Licence”,
“url”: “https://www.openstreetmap.org/copyright
},
“distance”: 605,
“place_id”: “51ea5f483dfa05544059cfe63deec7d62940f00103f90167d28d140100000092030d4d75727567616e2053746f7265”
},
“geometry”: {
“type”: “Point”,
“coordinates”: [
80.09339839999998,
12.919494099670741
]
}
},
{
“type”: “Feature”,
“properties”: {
“name”: “Muthu Supermarket”,
“street”: “Tambaram-Sriperumbudur Highway”,
“suburb”: “Perungalathur”,
“city”: “Tambaram”,
“county”: “Tambaram”,
“state_district”: “Chengalpattu District”,
“state”: “Tamil Nadu”,
“postcode”: “600045”,
“country”: “India”,
“country_code”: “in”,
“lon”: 80.0940449254117,
“lat”: 12.921713,
“formatted”: “Muthu Supermarket, Tambaram-Sriperumbudur Highway, Perungalathur, Tambaram - 600045, Tamil Nadu, India”,
“address_line1”: “Muthu Supermarket”,
“address_line2”: “Tambaram-Sriperumbudur Highway, Perungalathur, Tambaram - 600045, Tamil Nadu, India”,
“categories”: [
“building”,
“building.commercial”,
“commercial”,
“commercial.supermarket”
],
“details”: ,
“datasource”: {
“sourcename”: “openstreetmap”,
“attribution”: “© OpenStreetMap contributors”,
“license”: “Open Database Licence”,
“url”: “https://www.openstreetmap.org/copyright
},
“distance”: 646,
“place_id”: “51c3f660e00406544059a98e9cd5efd72940f00102f901bdc5fe1b000000009203114d757468752053757065726d61726b6574”
},
“geometry”: {
“type”: “Point”,
“coordinates”: [
80.0940476366914,
12.921751666413302
]
}
},
{
“type”: “Feature”,
“properties”: {
“name”: “Pandian Stores”,
“street”: “Tambaram-Sriperumbudur Highway”,
“suburb”: “Perungalathur”,
“city”: “Tambaram”,
“county”: “Tambaram”,
“state_district”: “Chengalpattu District”,
“state”: “Tamil Nadu”,
“postcode”: “600045”,
“country”: “India”,
“country_code”: “in”,
“lon”: 80.09433056348547,
“lat”: 12.9217496,
“formatted”: “Pandian Stores, Tambaram-Sriperumbudur Highway, Perungalathur, Tambaram - 600045, Tamil Nadu, India”,
“address_line1”: “Pandian Stores”,
“address_line2”: “Tambaram-Sriperumbudur Highway, Perungalathur, Tambaram - 600045, Tamil Nadu, India”,
“categories”: [
“building”,
“building.commercial”,
“commercial”,
“commercial.supermarket”
],
“details”: ,
“datasource”: {
“sourcename”: “openstreetmap”,
“attribution”: “© OpenStreetMap contributors”,
“license”: “Open Database Licence”,
“url”: “https://www.openstreetmap.org/copyright
},
“distance”: 677,
“place_id”: “51ece2208309065440593c868a60f0d72940f00102f901bec5fe1b0000000092030e50616e6469616e2053746f726573”
},
“geometry”: {
“type”: “Point”,
“coordinates”: [
80.09433057986797,
12.921755806836806
]
}
},
{
“type”: “Feature”,
“properties”: {
“name”: “More”,
“street”: “Tambaram-Sriperumbudur Highway”,
“suburb”: “Perungalathur”,
“city”: “Tambaram”,
“county”: “Tambaram”,
“state_district”: “Chengalpattu District”,
“state”: “Tamil Nadu”,
“postcode”: “600045”,
“country”: “India”,
“country_code”: “in”,
“lon”: 80.0946633,
“lat”: 12.9222393,
“formatted”: “More, Tambaram-Sriperumbudur Highway, Perungalathur, Tambaram - 600045, Tamil Nadu, India”,
“address_line1”: “More”,
“address_line2”: “Tambaram-Sriperumbudur Highway, Perungalathur, Tambaram - 600045, Tamil Nadu, India”,
“categories”: [
“commercial”,
“commercial.supermarket”
],
“details”: [
“details”
],
“datasource”: {
“sourcename”: “openstreetmap”,
“attribution”: “© OpenStreetMap contributors”,
“license”: “Open Database Licence”,
“url”: “https://www.openstreetmap.org/copyright
},
“distance”: 731,
“place_id”: “516868a8f60e065440599e58debf2fd82940f00103f9017ad28d14010000009203044d6f7265”
},
“geometry”: {
“type”: “Point”,
“coordinates”: [
80.09466329999998,
12.922239299671045
]
}
},
{
“type”: “Feature”,
“properties”: {
“name”: “Sri Durga Stores”,
“street”: “Muthuvelar Street”,
“suburb”: “Perungalathur”,
“county”: “Tambaram”,
“state_district”: “Chengalpattu District”,
“state”: “Tamil Nadu”,
“postcode”: “600063”,
“country”: “India”,
“country_code”: “in”,
“lon”: 80.0879313,
“lat”: 12.9037854,
“formatted”: “Sri Durga Stores, Muthuvelar Street, Perungalathur, - 600063, Tamil Nadu, India”,
“address_line1”: “Sri Durga Stores”,
“address_line2”: “Muthuvelar Street, Perungalathur, - 600063, Tamil Nadu, India”,
“categories”: [
“commercial”,
“commercial.supermarket”
],
“details”: ,
“datasource”: {
“sourcename”: “openstreetmap”,
“attribution”: “© OpenStreetMap contributors”,
“license”: “Open Database Licence”,
“url”: “https://www.openstreetmap.org/copyright
},
“distance”: 1907,
“place_id”: “51dc729aaaa005544059b75cbcf5bcce2940f00103f9010c5169c3000000009203105372692044757267612053746f726573”
},
“geometry”: {
“type”: “Point”,
“coordinates”: [
80.08793129999998,
12.903785399669102
]
}
},
{
“type”: “Feature”,
“properties”: {
“name”: “Nilgris super market”,
“street”: “Rajaji Road”,
“suburb”: “East Tambaram”,
“city”: “Tambaram”,
“county”: “Tambaram”,
“state_district”: “Chengalpattu District”,
“state”: “Tamil Nadu”,
“postcode”: “600059”,
“country”: “India”,
“country_code”: “in”,
“lon”: 80.11605544814279,
“lat”: 12.92895755,
“formatted”: “Nilgris super market, Rajaji Road, East Tambaram, Tambaram - 600059, Tamil Nadu, India”,
“address_line1”: “Nilgris super market”,
“address_line2”: “Rajaji Road, East Tambaram, Tambaram - 600059, Tamil Nadu, India”,
“categories”: [
“building”,
“building.commercial”,
“commercial”,
“commercial.supermarket”
],
“details”: ,
“datasource”: {
“sourcename”: “openstreetmap”,
“attribution”: “© OpenStreetMap contributors”,
“license”: “Open Database Licence”,
“url”: “https://www.openstreetmap.org/copyright
},
“distance”: 3151,
“place_id”: “51437bc1736d075440591c05d753a0db2940f00102f9013fef2415000000009203144e696c67726973207375706572206d61726b6574”
},
“geometry”: {
“type”: “Point”,
“coordinates”: [
80.11605543036153,
12.928957576749376
]
}
},
{
“type”: “Feature”,
“properties”: {
“name”: “Baratham stores”,
“street”: “Tambaram Perungalathur Road”,
“suburb”: “East Tambaram”,
“city”: “Tambaram”,
“county”: “Tambaram”,
“state_district”: “Chengalpattu District”,
“state”: “Tamil Nadu”,
“postcode”: “600059”,
“country”: “India”,
“country_code”: “in”,
“lon”: 80.1185524,
“lat”: 12.9233541,
“formatted”: “Baratham stores, Tambaram Perungalathur Road, East Tambaram, Tambaram - 600059, Tamil Nadu, India”,
“address_line1”: “Baratham stores”,
“address_line2”: “Tambaram Perungalathur Road, East Tambaram, Tambaram - 600059, Tamil Nadu, India”,
“categories”: [
“commercial”,
“commercial.supermarket”
],
“details”: [
“details”
],
“datasource”: {
“sourcename”: “openstreetmap”,
“attribution”: “© OpenStreetMap contributors”,
“license”: “Open Database Licence”,
“url”: “https://www.openstreetmap.org/copyright
},
“distance”: 3321,
“place_id”: “512f37ce5c9607544059276e59dec1d82940f00103f901c366b83801000000”
},
“geometry”: {
“type”: “Point”,
“coordinates”: [
80.11855239999998,
12.923354099671156
]
}
},
{
“type”: “Feature”,
“properties”: {
“name”: “Pick n Pack”,
“street”: “Velachery - Tambaram Main Road”,
“suburb”: “East Tambaram”,
“city”: “Tambaram”,
“county”: “Tambaram”,
“state_district”: “Chengalpattu District”,
“state”: “Tamil Nadu”,
“postcode”: “600059”,
“country”: “India”,
“country_code”: “in”,
“lon”: 80.1260691,
“lat”: 12.923199,
“formatted”: “Pick n Pack, Velachery - Tambaram Main Road, East Tambaram, Tambaram - 600059, Tamil Nadu, India”,
“address_line1”: “Pick n Pack”,
“address_line2”: “Velachery - Tambaram Main Road, East Tambaram, Tambaram - 600059, Tamil Nadu, India”,
“categories”: [
“commercial”,
“commercial.supermarket”
],
“details”: [
“details”
],
“datasource”: {
“sourcename”: “openstreetmap”,
“attribution”: “© OpenStreetMap contributors”,
“license”: “Open Database Licence”,
“url”: “https://www.openstreetmap.org/copyright
},
“distance”: 4134,
“place_id”: “514f622184110854405930930e8aadd82940f00103f9010fe3c5b30000000092030b5069636b206e205061636b”
},
“geometry”: {
“type”: “Point”,
“coordinates”: [
80.12606909999998,
12.923198999671143
]
}
},
{
“type”: “Feature”,
“properties”: {
“name”: “R S Supermarket”,
“street”: “Green Hills Road”,
“county”: “Chengalpattu”,
“state_district”: “Chengalpattu District”,
“state”: “Tamil Nadu”,
“postcode”: “600013”,
“country”: “India”,
“country_code”: “in”,
“lon”: 80.11263596191527,
“lat”: 12.89054355,
“formatted”: “R S Supermarket, Green Hills Road, - 600013, Tamil Nadu, India”,
“address_line1”: “R S Supermarket”,
“address_line2”: “Green Hills Road, - 600013, Tamil Nadu, India”,
“categories”: [
“building”,
“building.commercial”,
“commercial”,
“commercial.supermarket”
],
“details”: ,
“datasource”: {
“sourcename”: “openstreetmap”,
“attribution”: “© OpenStreetMap contributors”,
“license”: “Open Database Licence”,
“url”: “https://www.openstreetmap.org/copyright
},
“distance”: 4280,
“place_id”: “51c952367a3507544059556ff3f5f7c72940f00102f9012c41fa260000000092030f5220532053757065726d61726b6574”
},
“geometry”: {
“type”: “Point”,
“coordinates”: [
80.11263900094049,
12.890563665357755
]
}
},
{
“type”: “Feature”,
“properties”: {
“name”: “Sastha Organic Food Store”,
“street”: “Agasthiyar Street”,
“suburb”: “East Tambaram”,
“city”: “Tambaram”,
“county”: “Tambaram”,
“state_district”: “Chengalpattu District”,
“state”: “Tamil Nadu”,
“postcode”: “600059”,
“country”: “India”,
“country_code”: “in”,
“lon”: 80.12741455,
“lat”: 12.92808215,
“formatted”: “Sastha Organic Food Store, Agasthiyar Street, East Tambaram, Tambaram - 600059, Tamil Nadu, India”,
“address_line1”: “Sastha Organic Food Store”,
“address_line2”: “Agasthiyar Street, East Tambaram, Tambaram - 600059, Tamil Nadu, India”,
“categories”: [
“building”,
“building.commercial”,
“commercial”,
“commercial.supermarket”
],
“details”: [
“details.commercial”
],
“datasource”: {
“sourcename”: “openstreetmap”,
“attribution”: “© OpenStreetMap contributors”,
“license”: “Open Database Licence”,
“url”: “https://www.openstreetmap.org/copyright
},
“distance”: 4326,
“place_id”: “5136525b8f2708544059a9ae61952ddb2940f00102f90171542a1500000000920319536173746861204f7267616e696320466f6f642053746f7265”
},
“geometry”: {
“type”: “Point”,
“coordinates”: [
80.12741455,
12.928082149671654
]
}
},
{
“type”: “Feature”,
“properties”: {
“name”: “Heritage Fresh”,
“street”: “Velachery - Tambaram Main Road”,
“suburb”: “East Tambaram”,
“city”: “Tambaram”,
“county”: “Tambaram”,
“state_district”: “Chengalpattu District”,
“state”: “Tamil Nadu”,
“postcode”: “600059”,
“country”: “India”,
“country_code”: “in”,
“lon”: 80.1281591,
“lat”: 12.9232303,
“formatted”: “Heritage Fresh, Velachery - Tambaram Main Road, East Tambaram, Tambaram - 600059, Tamil Nadu, India”,
“address_line1”: “Heritage Fresh”,
“address_line2”: “Velachery - Tambaram Main Road, East Tambaram, Tambaram - 600059, Tamil Nadu, India”,
“categories”: [
“commercial”,
“commercial.supermarket”
],
“details”: [
“details”
],
“datasource”: {
“sourcename”: “openstreetmap”,
“attribution”: “© OpenStreetMap contributors”,
“license”: “Open Database Licence”,
“url”: “https://www.openstreetmap.org/copyright
},
“distance”: 4361,
“place_id”: “51d4cb39c2330854405917874fa4b1d82940f00103f901bcdec5b30000000092030e4865726974616765204672657368”
},
“geometry”: {
“type”: “Point”,
“coordinates”: [
80.1281591,
12.923230299671145
]
}
},
{
“type”: “Feature”,
“properties”: {
“name”: “Lakshmi Supermarket”,
“street”: “Mahathma Gandhi Road”,
“county”: “Chengalpattu”,
“state_district”: “Chengalpattu District”,
“state”: “Tamil Nadu”,
“postcode”: “600013”,
“country”: “India”,
“country_code”: “in”,
“lon”: 80.11662769998041,
“lat”: 12.891237799999999,
“formatted”: “Lakshmi Supermarket, Mahathma Gandhi Road, - 600013, Tamil Nadu, India”,
“address_line1”: “Lakshmi Supermarket”,
“address_line2”: “Mahathma Gandhi Road, - 600013, Tamil Nadu, India”,
“categories”: [
“building”,
“building.commercial”,
“commercial”,
“commercial.supermarket”
],
“details”: ,
“datasource”: {
“sourcename”: “openstreetmap”,
“attribution”: “© OpenStreetMap contributors”,
“license”: “Open Database Licence”,
“url”: “https://www.openstreetmap.org/copyright
},
“distance”: 4513,
“place_id”: “51d73c05d47607544059d20f4e5150c82940f00102f9012366fc26000000009203134c616b73686d692053757065726d61726b6574”
},
“geometry”: {
“type”: “Point”,
“coordinates”: [
80.11662769805422,
12.891237774638203
]
}
},
{
“type”: “Feature”,
“properties”: {
“name”: “Gowtham Supermarket”,
“housenumber”: “G Block”,
“street”: “Urban Tree Residential Road”,
“suburb”: “Urapakkam”,
“county”: “Chengalpattu”,
“state_district”: “Chengalpattu District”,
“state”: “Tamil Nadu”,
“postcode”: “603210”,
“country”: “India”,
“country_code”: “in”,
“lon”: 80.0847657,
“lat”: 12.8705786,
“formatted”: “Gowtham Supermarket, G Block, Urban Tree Residential Road, Urapakkam, - 603210, Tamil Nadu, India”,
“address_line1”: “Gowtham Supermarket”,
“address_line2”: “G Block, Urban Tree Residential Road, Urapakkam, - 603210, Tamil Nadu, India”,
“categories”: [
“commercial”,
“commercial.supermarket”
],
“details”: [
“details”,
“details.payment”
],
“datasource”: {
“sourcename”: “openstreetmap”,
“attribution”: “© OpenStreetMap contributors”,
“license”: “Open Database Licence”,
“url”: “https://www.openstreetmap.org/copyright
},
“distance”: 5592,
“place_id”: “51a5541dcd6c055440599e526c7abcbd2940f00103f901699b0e9401000000920313476f777468616d2053757065726d61726b6574”
},
“geometry”: {
“type”: “Point”,
“coordinates”: [
80.0847657,
12.870578599665631
]
}
},
{
“type”: “Feature”,
“properties”: {
“name”: “Nilgiris Super Market”,
“street”: “Velachery - Tambaram Main Road”,
“suburb”: “East Tambaram”,
“city”: “Tambaram”,
“county”: “Tambaram”,
“state_district”: “Chengalpattu District”,
“state”: “Tamil Nadu”,
“postcode”: “600059”,
“country”: “India”,
“country_code”: “in”,
“lon”: 80.1409505,
“lat”: 12.9225832,
“formatted”: “Nilgiris Super Market, Velachery - Tambaram Main Road, East Tambaram, Tambaram - 600059, Tamil Nadu, India”,
“address_line1”: “Nilgiris Super Market”,
“address_line2”: “Velachery - Tambaram Main Road, East Tambaram, Tambaram - 600059, Tamil Nadu, India”,
“categories”: [
“commercial”,
“commercial.supermarket”
],
“details”: ,
“datasource”: {
“sourcename”: “openstreetmap”,
“attribution”: “© OpenStreetMap contributors”,
“license”: “Open Database Licence”,
“url”: “https://www.openstreetmap.org/copyright
},
“distance”: 5744,
“place_id”: “51b5f63e55050954405942da3cd35cd82940f00103f901e537c6b3000000009203154e696c6769726973205375706572204d61726b6574”
},
“geometry”: {
“type”: “Point”,
“coordinates”: [
80.14095049999999,
12.92258319967107
]
}
},
{
“type”: “Feature”,
“properties”: {
“name”: “Sri Rajeswari Stores”,
“street”: “IAF Road”,
“suburb”: “Madambakkam”,
“city”: “Chennai”,
“county”: “Tambaram”,
“state_district”: “Chengalpattu District”,
“state”: “Tamil Nadu”,
“postcode”: “600073”,
“country”: “India”,
“country_code”: “in”,
“lon”: 80.1428736,
“lat”: 12.9122673,
“formatted”: “Sri Rajeswari Stores, IAF Road, Madambakkam, Chennai - 600073, Tamil Nadu, India”,
“address_line1”: “Sri Rajeswari Stores”,
“address_line2”: “IAF Road, Madambakkam, Chennai - 600073, Tamil Nadu, India”,
“categories”: [
“commercial”,
“commercial.supermarket”
],
“details”: [
“details.payment”
],
“datasource”: {
“sourcename”: “openstreetmap”,
“attribution”: “© OpenStreetMap contributors”,
“license”: “Open Database Licence”,
“url”: “https://www.openstreetmap.org/copyright
},
“distance”: 6029,
“place_id”: “518edd4fd72409544059f39512b314d32940f00103f901f04da6c3010000009203145372692052616a6573776172692053746f726573”
},
“geometry”: {
“type”: “Point”,
“coordinates”: [
80.1428736,
12.912267299669997
]
}
},
{
“type”: “Feature”,
“properties”: {
“name”: “Murugan Stores Super Market”,
“street”: “Tambaram Eastern Bypass”,
“neighbourhood”: “Peerkankaranai”,
“suburb”: “Madambakkam”,
“city”: “Balaji Nagar”,
“county”: “Tambaram”,
“state_district”: “Chengalpattu District”,
“state”: “Tamil Nadu”,
“postcode”: “600073”,
“country”: “India”,
“country_code”: “in”,
“lon”: 80.1431597,
“lat”: 12.9103892,
“formatted”: “Murugan Stores Super Market, Tambaram Eastern Bypass, Madambakkam, Balaji Nagar - 600073, Tamil Nadu, India”,
“address_line1”: “Murugan Stores Super Market”,
“address_line2”: “Tambaram Eastern Bypass, Madambakkam, Balaji Nagar - 600073, Tamil Nadu, India”,
“categories”: [
“commercial”,
“commercial.supermarket”
],
“details”: [
“details.payment”
],
“datasource”: {
“sourcename”: “openstreetmap”,
“attribution”: “© OpenStreetMap contributors”,
“license”: “Open Database Licence”,
“url”: “https://www.openstreetmap.org/copyright
},
“distance”: 6096,
“place_id”: “51ba664d872909544059446d7e881ed22940f00103f9017053b7c40100000092031b4d75727567616e2053746f726573205375706572204d61726b6574”
},
“geometry”: {
“type”: “Point”,
“coordinates”: [
80.14315969999998,
12.910389199669801
]
}
},
{
“type”: “Feature”,
“properties”: {
“name”: “More”,
“street”: “Grand Southern Trunk Road”,
“suburb”: “Chromepet”,
“county”: “Pallavaram”,
“state_district”: “Chengalpattu District”,
“state”: “Tamil Nadu”,
“postcode”: “600044”,
“country”: “India”,
“country_code”: “in”,
“lon”: 80.1389598,
“lat”: 12.949222,
“formatted”: “More, Grand Southern Trunk Road, Chromepet, - 600044, Tamil Nadu, India”,
“address_line1”: “More”,
“address_line2”: “Grand Southern Trunk Road, Chromepet, - 600044, Tamil Nadu, India”,
“categories”: [
“commercial”,
“commercial.supermarket”
],
“details”: [
“details”
],
“datasource”: {
“sourcename”: “openstreetmap”,
“attribution”: “© OpenStreetMap contributors”,
“license”: “Open Database Licence”,
“url”: “https://www.openstreetmap.org/copyright
},
“distance”: 6345,
“place_id”: “515b1da5b7e408544059677c0a6d00e62940f00103f901745fb922000000009203044d6f7265”
},
“geometry”: {
“type”: “Point”,
“coordinates”: [
80.1389598,
12.949221999673865
]
}
},
{
“type”: “Feature”,
“properties”: {
“name”: “Spencers Daily”,
“street”: “Dr.Rajendra Prasath Road”,
“suburb”: “Chitlapakkam”,
“county”: “Tambaram”,
“state_district”: “Chengalpattu District”,
“state”: “Tamil Nadu”,
“postcode”: “600044”,
“country”: “India”,
“country_code”: “in”,
“lon”: 80.1425041,
“lat”: 12.94219015,
“formatted”: “Spencers Daily, Dr.Rajendra Prasath Road, Chitlapakkam, - 600044, Tamil Nadu, India”,
“address_line1”: “Spencers Daily”,
“address_line2”: “Dr.Rajendra Prasath Road, Chitlapakkam, - 600044, Tamil Nadu, India”,
“categories”: [
“building”,
“building.commercial”,
“commercial”,
“commercial.supermarket”
],
“details”: [
“details”,
“details.commercial”,
“details.payment”
],
“datasource”: {
“sourcename”: “openstreetmap”,
“attribution”: “© OpenStreetMap contributors”,
“license”: “Open Database Licence”,
“url”: “https://www.openstreetmap.org/copyright
},
“distance”: 6349,
“place_id”: “51f04284c91e095440593eeb4ebf66e22940f00102f9016e9d26150000000092030e5370656e63657273204461696c79”
},
“geometry”: {
“type”: “Point”,
“coordinates”: [
80.1425041,
12.942190149673134
]
}
},
{
“type”: “Feature”,
“properties”: {
“name”: “Venkateswara super market”,
“street”: “Tambaram Eastern Bypass”,
“neighbourhood”: “Peerkankaranai”,
“suburb”: “Madambakkam”,
“city”: “Balaji Nagar”,
“county”: “Tambaram”,
“state_district”: “Chengalpattu District”,
“state”: “Tamil Nadu”,
“postcode”: “600063”,
“country”: “India”,
“country_code”: “in”,
“lon”: 80.1417292,
“lat”: 12.8971991,
“formatted”: “Venkateswara super market, Tambaram Eastern Bypass, Madambakkam, Balaji Nagar - 600063, Tamil Nadu, India”,
“address_line1”: “Venkateswara super market”,
“address_line2”: “Tambaram Eastern Bypass, Madambakkam, Balaji Nagar - 600063, Tamil Nadu, India”,
“categories”: [
“commercial”,
“commercial.supermarket”
],
“details”: [
“details”
],
“datasource”: {
“sourcename”: “openstreetmap”,
“attribution”: “© OpenStreetMap contributors”,
“license”: “Open Database Licence”,
“url”: “https://www.openstreetmap.org/copyright
},
“distance”: 6395,
“place_id”: “51d9b8591712095440592e272eae5dcb2940f00103f901c69f753901000000”
},
“geometry”: {
“type”: “Point”,
“coordinates”: [
80.1417292,
12.897199099668423
]
}
}
]
}

I want all the “name” to be displayed in the list viewer

Seek your guidance

The text you posted is not valid JSON. You may have left out a bracket or something. Smart quotes can cause an issue but I tried to replace them and still couldn’t view the JSON tree.

Also, the screenshot from JSON Path Finder is only helpful if you close the “features” property. We need to be able to see the tree structure and right now, we can only see the “features” list on the right side.

I’m going to move your JSON text into a “details” drop-down. You can add these to a forum post in the following way:

image

Your blocks look correct to me. Are you getting an error? What is the value of the green error block? If not, what is the value of the green response block? You can set a text input component’s text to these block values and then copy and paste the results into a forum post.

I am able to get only one name out of 15 names because that’s how I have coded it.

I want all the super market names Ex: under zero inside properties , I see name as S.M. Supermarket. under 1 inside properties , I see name as Murugan Store

I want these names to be displayed in the listviewer.

Sharing the forloop code as well.

I get the output as but its listing the first name under zero i.e.S.M Supermarket

Also I mailed the api url to you, hope that should help.

Your input is highly appreciable.

1 Like

Here’s how I would do it:

And the preview:

1 Like

Its working . Thank you so much for your assistance. Much appreciated!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.