Possible Duplicate:
iPhone/iOS JSON parsing tutorial
I have no clue how to parse JSON data from a website.
{
"weather": {
"curren_weather": [
{
"humidity": "54",
"pressure": "1011",
"temp": "50",
"temp_unit": "f",
"weather_code": "1",
"weather_text": "Partly cloudy",
"wind": [
{
"dir": "W",
"speed": "9",
"wind_unit": "kph"
}
]
}
],
All that I want to do is store the "temp" and "weather_text" variables as NSStrings to be used in labels or whatever in my application...
The actual request url is something like: http://www.myweather2.com/developer/forecast.ashx?uac=(access-key)&output=json&query=(latitude,longitude)&temp_unit=f
Any thoughts on how to complete this?