Dealing With Json Result
I'm having trouble reading the JSON data from a venues search. Here is my code: xmlhttpRC = new XMLHttpRequest(); url = 'https://api.foursquare.com/v2/venues/explore?ll='+pointStrr
Solution 1:
You need to parse JSON. Modern browsers have JSON.parse built in, older versions of IE etc. do not - you can theoretically use eval(response) but it creates a security hole.
There is a library to parse it if you cannot depend on users having modern browsers.
Post a Comment for "Dealing With Json Result"