I have a local storage variable that contains a JSON format of Google Places. Question is: How do I fetch the data inside?
Ex. Inside the localstorage is:
code
{"html_attributions":"results":[{"geometry":{"location":{"lat":15.168261,"lng":120.578985}},"name":"Pancake House","place_id":"ChIJnc2qWn_yljMRNKWgoOBq1iQ","types":["cafe"],"vicinity":"Pampanga"}],"status":"OK"}/code
How can I fetch just the place_id?