i'm wondering how i could loop through this json data to get the values inside it with jquery? All i've got is undefined. I'm using $.ajax.get() to get the file then i'm trying to loop through it to get data inside it. The JSON looks like this...
The result from the get is a string!
[ { "category": "anti-social-behaviour", "persistent_id": "", "location_subtype": "STATION", "month": "2012-11", "location": { "latitude": "52.6313999", "street": { "id": 1447707, "name": "Leicester" }, "longitude": "-1.1252999" }, "context": "", "id": 18782816, "location_type": "BTP", "outcome_status": { "category": "Under investigation", "date": "2012-11" } } ] Regards /Haris!
get()an object or a string?