I have a JSON result (Array of Objects), which is a list of venues that comes back in my search results from FourSquare API. I store the venues in localStorage so that I can access them on another screen.
How "Should" I be storing and getting JSON Array of Objects so that I can loop through it with $.each?
var myvenuedata = localstorage.getitem('myLocalJSON')
$.each(myvenuedata, function(index, value) {
alert(lat: ' + value.location.lat);
});
Or is there a better approach to storing and accessing data on multiple screens?
Thanks,
Don