xml数据:
http://rainmeter.accu-weather.com/widget/rainmeter/weather-data.asp?location=ASI|CN|CH007|YULIN&metric=c
如何获取如下json数据:
asp.net 如何取得如下:
{
"city":"Yulin",
"curr_temp":72,
"curr_text":"Mostly Sunny",
"curr_icon":2,
"forecast":[{
"day_date":"3\/6\/2010",
"day_text":"Sunny and very warm",
"day_icon":1,
"day_htemp":87,
"day_ltemp":65
},
{"day_date":"3\/7\/2010",
"day_text":"Not as warm with low clouds",
"day_icon":8,
"day_htemp":69,
"day_ltemp":60},
{"day_date":"3\/8\/2010",
"day_text":"Cloudy with spotty showers",
"day_icon":12,
"day_htemp":69,
"day_ltemp":48},
{"day_date":"3\/9\/2010",
"day_text":"Breezy and colder withrain",
"day_icon":18,
"day_htemp":53,
"day_ltemp":43},
{"day_date":"3\/10\/2010",
"day_text":"Sunny and warmer",
"day_icon":1,
"day_htemp":59,
"day_ltemp":51}
]}