如何使用c#在asp.net网站上读取和打印json数据 [英] how read and print the json data in asp.net website using c#
问题描述
{
回复:{
版本:0.1,
termsofService:http://www.wunderground。 com / weather / api / d / terms.html,
功能:{
geolookup:1
,
条件:1
,
预测:1
}
}
,location:{
type:INTLCITY,
country:IN,
country_iso3166:IN,
country_name:India,
州:,
city:Chennai,
tz_short:IST,
tz_long:Asia / Kolkata,
lat:13.00000000,
lon:80.18000031,
zip:00000,
魔法:1,
wmo:43279,
l:/ q / zmw:00000.1.43279,>
requesturl:global / stations / 43279.html,
wuiurl:http://www.wunderground.com/global/stations/43279.html ,
nearby_weather_stations:{
airport:{
station:[
{city:Madras / Minambakkam,州:,country:India,icao: VOMM,lat:12.99441433,lon:80.18051910}
,{city:Chennai,state:,country:IN ,icao:VOMM,lat:12.99441433,lon:80.18051910}
]
}
,
pws:{
站:[
{
邻居: Nungambakkam,
city:Chennai,
州:泰米尔纳德语,
country:印度,
id:ICHENNAI1,
lat:13.060000,
lon:80.250000,>
distance_km:10,
distance_mi:6
}
]
}
}
}
,current_observation:{
image:{
url:http://icons.wxug.com/graphics/wu2/logo_130x80.png,
title:地下天气,
link:http://www.wunderground.com
},
display_location:{
满:印度钦奈,
city:Chennai,
州:,
state_name:印度,
country:IN,
country_iso3166:IN,
zip:00000,
magic:1,
wmo:43279,
纬度:13.00000000,
经度:80.18000031,
海拔 :16.00000000
},
observation_location:{
full:Chennai,
city:Chennai,
州:,
country:IN,
country_iso3166:IN,
纬度:12.99441433,
经度:80.18051910,
海拔 :52英尺
},
估计:{
},
station_id: VOMM,
observation_time:最后更新时间为7月30日,下午6:10 IST,
observation_time_rfc822:星期三,2014年7月30日18: 10:00 +0530,
observation_epoch:1406724000,
local_time_rfc822:星期三,2014年7月30日18:57:21 +0530,
local_epoch: 1406726841,
local_tz_short:IST,
local_tz_long:Asia / Kolkata,
local_tz_offset: +0530,
天气:阴霾,
temperature_string:93 F(34 C),
temp_f:93,
temp_c:34,
ative_humidity:44%,
wind_string:来自SW在9英里/小时,
wind_dir:SW,
wind_degrees:220,
wind_mph:9 ,
wind_gust_mph:0,
wind_kph:15,
wind_gust_kph:0,
pressure_mb:1002,
pressure_in:29.59,
pressure_trend:0,
dewpoint_string:68 F(20 C),
dewpoint_f:68,
dewpoint_c:20,
heat_index_string :98 F(36 C),
heat_index_f:98,
heat_index_c:36,
windchill_string:NA,
windchill_f:NA,
windchill_c:NA,>
feellike_string:98 F(36 C),
feellike_f:98,
feellike_c:36,
visibility_mi:3.1,
visibility_km:5.0,
solarradiation: - ,
UV:0,precip_1hr_string: - 9999.00 in(-9999.00 mm),
precip_1hr_in: - 9999.00,>
precip_1hr_metric: - ,
precip_today_string:0.00 in(0.0 mm),
precip_today_in:0.00 ,
precip_today_metric:0.0,
icon:hazy,
icon_url:http:// icons.wxug.com/i/c/k/nt_hazy.gif,
forecast_url:http://www.wunderground.com/global/stations/43279.html,
history_url:http://www.wunderground.com/history/airport/VOMM/2014/7/30/DailyHistory.html,
ob_url :http://www.wunderground.com/cgi-bin/findweather/getForecast?query=12.99441433, 80.18051910,
nowcast:
}
,
预测:{
txt_forecast:{
date:IST下午5:36,
forecastday:[
{
期间:0,
图标:阴天,
icon_url:http:// icons.wxug.com/i/c/k/cloudy.gif,
title:星期三,
fcttext:多云。在80年代的低点过夜。,
fcttext_metric:多云。低29C。,
pop:20
}
,
{
期间:1,
icon:nt_cloudy,
icon_url:http://icons.wxug.com/ i / c / k / nt_cloudy.gif,
title:周三晚上,
fcttext:阴云密布。低84F。风速为每小时5到10英里的速度。,
fcttext_metric:多云。低29C。风速为10至15公里/小时的WSW。,
pop:20
}
,
{
期间:2,
icon:mostlycloudy,
icon_url:http:/ /icons.wxug.com/i/c/k/mostlycloudy.gif,
title:星期四,
fcttext:相当多云。高96F。风速为每小时10到20英里的风速。,
fcttext_metric:多云的天空。高35C附近。风速为15至30公里/小时的WSW。,
pop:10
}
,
{
期间:3,
icon:nt_mostlycloudy,
icon_url:http:/ /icons.wxug.com/i/c/k/nt_mostlycloudy.gif,
title:周四晚上,
fcttext:多云。低84F。风速为10至15英里/小时。,
fcttext_metric:多云。低29C。风速为10至15公里/小时。,
pop:20
}
,
{
期间:4,
icon:partiallycloudy,
icon_url:http:/ /icons.wxug.com/i/c/k/partlycloudy.gif,
title:星期五,
fcttext:多云多云的天空当天晚些时候将会变得部分多云。高97F。以10至15英里/小时的速度蜿蜒WSW。,
fcttext_metric:部分是多云。高36C。风速为15至25公里/小时的WSW。,
pop:10
}
,
{
期间:5,
icon:nt_mostlycloudy,
icon_url:http:/ /icons.wxug.com/i/c/k/nt_mostlycloudy.gif,
title:Friday Night,
fcttext:多云天空。低84F。风速为10至15英里/小时。,
fcttext_metric:相当多云。低29C。风速为15至25公里/小时。,
pop:20
}
,
{
期间:6,
icon:机会风暴,
icon_url:http:/ /icons.wxug.com/i/c/k/chancetstorms.gif,
title:星期六,
fcttext:部分多云早上接着是下午散乱的雷阵雨。高98F。以10至15英里/小时的速度蜿蜒WSW。下雨的可能性为40%。,
fcttext_metric:早期部分多云。午后散发雷暴。高36C。风速为15至25公里/小时的WSW。下雨的可能性为40%。,
pop:40
}
,
{
期间:7,
icon:nt_partlycloudy,
icon_url:http://icons.wxug .com / i / c / k / nt_partlycloudy.gif,
title:周六晚上,
fcttext:早期多云的天空将成为部分多云晚。低84F。风速为每小时10至15英里。,
fcttext_metric:早期多云多云,午夜后多云。低29C。风速为10至15公里/小时。,
pop:20
}
]
},
simpleforecast:{
forecastday:[
{date:{
epoch:1406727000,
漂亮:2014年7月30日下午7:00,
day:30,
月:7,
年:2014年,
yday:210,
小时:19,
min:00,
秒:0,
isdst:0 ,
monthname:July,
monthname_short:Jul,
weekday_short:Wed,
工作日:星期三,
ampm:PM,
tz_short:IST,
tz_long:亚洲/加尔各答
},
期间:1,
高 :{
fahrenheit:95,
摄氏度:34
},
低:{
fahrenheit:84,
摄氏度:29
},>
条件:阴天,
icon:阴天,
icon_url:http://icons.wxug.com/i/c/k/cloudy.gif,
skyicon:,
pop:20,
qpf_allday:{
in:0.00,
mm:0 < br $>
},
qpf_day:{
in:null,
mm:null < br $>
},
qpf_night:{
in:0.00,
mm:0 < br $>
},
snow_allday:{
in:0.0,
cm:0.0 < br $>
},
snow_day:{
in:null,
cm:null < br $>
},
snow_night:{
in:0.0,
cm:0.0 < br $>
},
maxwind:{
mph:14,
kph:22,
dir:SW,
度:0
},
avewind :{
mph:6,
kph:10,
dir:WSW,
度:0
},
avehumidity:59,
maxhumidity :0,
minhumidity:0
}
,
{date:{
epoch:1406813400,
漂亮:2014年7月31日下午7:00,
日:31,
月:7,
年:2014年,
yday:211,
小时:19,
min:00,
秒:0,
isdst :0,
monthname:7月,
monthname_short:7月,
weekday_short: 星期四,
工作日:星期四,
ampm:PM,
tz_short:IST ,
tz_long:亚洲/加尔各答
},
期限:2,
高:{
fahrenheit:96,
摄氏度:36
},>
低:{
fahrenheit:84,
摄氏度:29
} ,
条件:多云,
icon:mostcloudy,
icon_url:http:/ /icons.wxug.com/i/c/k/mostlycloudy.gif,
skyico n:,
pop:10,
qpf_allday:{
in:0.00,>
mm:0
},
qpf_day:{
in:0.00,>
mm:0
},
qpf_night:{
in:0.00,>
mm:0
},
snow_allday:{
in:0.0,>
cm:0.0
},
snow_day:{
in:0.0,>
cm:0.0
},
snow_night:{
in:0.0,>
cm:0.0
},
maxwind:{
mph:20,>
kph:32,
dir:WSW,
度:244
},
avewind:{
mph:13,
kph:21,
dir:WSW,
度:244
},
avehumidity:58,
maxhumidity:0,
minhumidity:0
}
,
{date:{
epoch:1406899800,
漂亮:2014年8月1日下午7:00 IST,
日:1,
月:8,
年:2014年,
yday :212,
小时:19,
min:00,
秒:0,>
isdst:0,
monthname:August,
monthname_short:Aug,
weekday_short:周五,
工作日:星期五,
ampm:PM,
tz_short:IST,
tz_long:亚洲/加尔各答
},
期限:3,
高:{
fahrenheit:97,
摄氏度:36
},
低:{
fahrenheit:84,
摄氏度:29
},
条件:部分多云,
icon:partiallycloudy,
icon_url:http://icons.wxug.com/i/c/k/partlycloudy.gif,
skyicon:,
pop :10,
qpf_allday:{
in: 0.00,
mm:0
},
qpf_day:{
in: 0.00,
mm:0
},
qpf_night:{
in: 0.00,
mm:0
},
snow_allday:{
in: 0.0,
cm:0.0
},
snow_day:{
in: 0.0,
cm:0.0
},
snow_night:{
in: 0.0,
cm:0.0
},
maxwind:{
mph: 15,
kph:24,
dir:WSW,
度:246
},
avewind:{
mph:11,
kph:18,
dir:WSW,
度:246
},
avehumidity:57,
maxhumidity:0,
minhumidity:0
}
,
{date:{
epoch:1406986200,
漂亮:7:00 PM IST在2014年8月2日,
日:2,
月:8,
年:2014年,
yday:213,
小时:19,
min:00,
sec:0,
isdst:0,
monthname:August,
monthname_short :8月,
weekday_short:星期六,
工作日:星期六,
ampm: PM,
tz_short:IST,
tz_long:亚洲/加尔各答
},
期间:4,
高:{
fahrenheit:98,
摄氏度 :37
},
低:{
fahrenheit:84,
摄氏度:29
},
条件:雷暴的机会,
icon:机会风暴,
icon_url:http://icons.wxug.com/i/c/k/chancetstorms.gif,
skyicon: ,
pop:40,
qpf_allday:{
in:0.06,
mm:2
},
qpf_da y:{
in:0.04,
mm:1
},
qpf_night:{
in:0.00,
mm:0
},
snow_allday:{
in:0.0,
cm:0.0
},
snow_day:{
in:0.0,
cm:0.0
},
snow_night:{
in:0.0,
cm:0.0
},
maxwind:{
mph:15,
kph:24,
dir:WSW,
度:251
},
avewind:{
mph:11,
kph:18,
dir:WSW,
度:251
} ,
avehumidity:58,
maxhumidity:0,
minhumidity:0
}
]
}
}
}
看到.. :)
在asp.net中处理json [ ^ ]
{
"response": {
"version":"0.1",
"termsofService":"http://www.wunderground.com/weather/api/d/terms.html",
"features": {
"geolookup": 1
,
"conditions": 1
,
"forecast": 1
}
}
, "location": {
"type":"INTLCITY",
"country":"IN",
"country_iso3166":"IN",
"country_name":"India",
"state":"",
"city":"Chennai",
"tz_short":"IST",
"tz_long":"Asia/Kolkata",
"lat":"13.00000000",
"lon":"80.18000031",
"zip":"00000",
"magic":"1",
"wmo":"43279",
"l":"/q/zmw:00000.1.43279",
"requesturl":"global/stations/43279.html",
"wuiurl":"http://www.wunderground.com/global/stations/43279.html",
"nearby_weather_stations": {
"airport": {
"station": [
{ "city":"Madras / Minambakkam", "state":"", "country":"India", "icao":"VOMM", "lat":"12.99441433", "lon":"80.18051910" }
,{ "city":"Chennai", "state":"", "country":"IN", "icao":"VOMM", "lat":"12.99441433", "lon":"80.18051910" }
]
}
,
"pws": {
"station": [
{
"neighborhood":"Nungambakkam",
"city":"Chennai",
"state":"Tamil Nadu",
"country":"India",
"id":"ICHENNAI1",
"lat":13.060000,
"lon":80.250000,
"distance_km":10,
"distance_mi":6
}
]
}
}
}
, "current_observation": {
"image": {
"url":"http://icons.wxug.com/graphics/wu2/logo_130x80.png",
"title":"Weather Underground",
"link":"http://www.wunderground.com"
},
"display_location": {
"full":"Chennai, India",
"city":"Chennai",
"state":"",
"state_name":"India",
"country":"IN",
"country_iso3166":"IN",
"zip":"00000",
"magic":"1",
"wmo":"43279",
"latitude":"13.00000000",
"longitude":"80.18000031",
"elevation":"16.00000000"
},
"observation_location": {
"full":"Chennai, ",
"city":"Chennai",
"state":"",
"country":"IN",
"country_iso3166":"IN",
"latitude":"12.99441433",
"longitude":"80.18051910",
"elevation":"52 ft"
},
"estimated": {
},
"station_id":"VOMM",
"observation_time":"Last Updated on July 30, 6:10 PM IST",
"observation_time_rfc822":"Wed, 30 Jul 2014 18:10:00 +0530",
"observation_epoch":"1406724000",
"local_time_rfc822":"Wed, 30 Jul 2014 18:57:21 +0530",
"local_epoch":"1406726841",
"local_tz_short":"IST",
"local_tz_long":"Asia/Kolkata",
"local_tz_offset":"+0530",
"weather":"Haze",
"temperature_string":"93 F (34 C)",
"temp_f":93,
"temp_c":34,
"relative_humidity":"44%",
"wind_string":"From the SW at 9 MPH",
"wind_dir":"SW",
"wind_degrees":220,
"wind_mph":9,
"wind_gust_mph":0,
"wind_kph":15,
"wind_gust_kph":0,
"pressure_mb":"1002",
"pressure_in":"29.59",
"pressure_trend":"0",
"dewpoint_string":"68 F (20 C)",
"dewpoint_f":68,
"dewpoint_c":20,
"heat_index_string":"98 F (36 C)",
"heat_index_f":98,
"heat_index_c":36,
"windchill_string":"NA",
"windchill_f":"NA",
"windchill_c":"NA",
"feelslike_string":"98 F (36 C)",
"feelslike_f":"98",
"feelslike_c":"36",
"visibility_mi":"3.1",
"visibility_km":"5.0",
"solarradiation":"--",
"UV":"0","precip_1hr_string":"-9999.00 in (-9999.00 mm)",
"precip_1hr_in":"-9999.00",
"precip_1hr_metric":"--",
"precip_today_string":"0.00 in (0.0 mm)",
"precip_today_in":"0.00",
"precip_today_metric":"0.0",
"icon":"hazy",
"icon_url":"http://icons.wxug.com/i/c/k/nt_hazy.gif",
"forecast_url":"http://www.wunderground.com/global/stations/43279.html",
"history_url":"http://www.wunderground.com/history/airport/VOMM/2014/7/30/DailyHistory.html",
"ob_url":"http://www.wunderground.com/cgi-bin/findweather/getForecast?query=12.99441433,80.18051910",
"nowcast":""
}
,
"forecast":{
"txt_forecast": {
"date":"5:36 PM IST",
"forecastday": [
{
"period":0,
"icon":"cloudy",
"icon_url":"http://icons.wxug.com/i/c/k/cloudy.gif",
"title":"Wednesday",
"fcttext":"Cloudy. Lows overnight in the low 80s.",
"fcttext_metric":"Cloudy. Low 29C.",
"pop":"20"
}
,
{
"period":1,
"icon":"nt_cloudy",
"icon_url":"http://icons.wxug.com/i/c/k/nt_cloudy.gif",
"title":"Wednesday Night",
"fcttext":"Overcast. Low 84F. Winds WSW at 5 to 10 mph.",
"fcttext_metric":"Cloudy. Low 29C. Winds WSW at 10 to 15 km/h.",
"pop":"20"
}
,
{
"period":2,
"icon":"mostlycloudy",
"icon_url":"http://icons.wxug.com/i/c/k/mostlycloudy.gif",
"title":"Thursday",
"fcttext":"Considerable cloudiness. High 96F. Winds WSW at 10 to 20 mph.",
"fcttext_metric":"Mostly cloudy skies. High near 35C. Winds WSW at 15 to 30 km/h.",
"pop":"10"
}
,
{
"period":3,
"icon":"nt_mostlycloudy",
"icon_url":"http://icons.wxug.com/i/c/k/nt_mostlycloudy.gif",
"title":"Thursday Night",
"fcttext":"Mostly cloudy. Low 84F. Winds SW at 10 to 15 mph.",
"fcttext_metric":"Mostly cloudy. Low 29C. Winds SW at 10 to 15 km/h.",
"pop":"20"
}
,
{
"period":4,
"icon":"partlycloudy",
"icon_url":"http://icons.wxug.com/i/c/k/partlycloudy.gif",
"title":"Friday",
"fcttext":"Mostly cloudy skies early will become partly cloudy later in the day. High 97F. Winds WSW at 10 to 15 mph.",
"fcttext_metric":"Partly to mostly cloudy. High 36C. Winds WSW at 15 to 25 km/h.",
"pop":"10"
}
,
{
"period":5,
"icon":"nt_mostlycloudy",
"icon_url":"http://icons.wxug.com/i/c/k/nt_mostlycloudy.gif",
"title":"Friday Night",
"fcttext":"Mostly cloudy skies. Low 84F. Winds SW at 10 to 15 mph.",
"fcttext_metric":"Considerable cloudiness. Low 29C. Winds SW at 15 to 25 km/h.",
"pop":"20"
}
,
{
"period":6,
"icon":"chancetstorms",
"icon_url":"http://icons.wxug.com/i/c/k/chancetstorms.gif",
"title":"Saturday",
"fcttext":"Partly cloudy in the morning followed by scattered thunderstorms in the afternoon. High 98F. Winds WSW at 10 to 15 mph. Chance of rain 40%.",
"fcttext_metric":"Partly cloudy early. Scattered thunderstorms developing in the afternoon. High 36C. Winds WSW at 15 to 25 km/h. Chance of rain 40%.",
"pop":"40"
}
,
{
"period":7,
"icon":"nt_partlycloudy",
"icon_url":"http://icons.wxug.com/i/c/k/nt_partlycloudy.gif",
"title":"Saturday Night",
"fcttext":"Mostly cloudy skies early will become partly cloudy late. Low 84F. Winds SW at 10 to 15 mph.",
"fcttext_metric":"Mostly cloudy skies early, then partly cloudy after midnight. Low 29C. Winds SW at 10 to 15 km/h.",
"pop":"20"
}
]
},
"simpleforecast": {
"forecastday": [
{"date":{
"epoch":"1406727000",
"pretty":"7:00 PM IST on July 30, 2014",
"day":30,
"month":7,
"year":2014,
"yday":210,
"hour":19,
"min":"00",
"sec":0,
"isdst":"0",
"monthname":"July",
"monthname_short":"Jul",
"weekday_short":"Wed",
"weekday":"Wednesday",
"ampm":"PM",
"tz_short":"IST",
"tz_long":"Asia/Kolkata"
},
"period":1,
"high": {
"fahrenheit":"95",
"celsius":"34"
},
"low": {
"fahrenheit":"84",
"celsius":"29"
},
"conditions":"Overcast",
"icon":"cloudy",
"icon_url":"http://icons.wxug.com/i/c/k/cloudy.gif",
"skyicon":"",
"pop":20,
"qpf_allday": {
"in": 0.00,
"mm": 0
},
"qpf_day": {
"in": null,
"mm": null
},
"qpf_night": {
"in": 0.00,
"mm": 0
},
"snow_allday": {
"in": 0.0,
"cm": 0.0
},
"snow_day": {
"in": null,
"cm": null
},
"snow_night": {
"in": 0.0,
"cm": 0.0
},
"maxwind": {
"mph": 14,
"kph": 22,
"dir": "SW",
"degrees": 0
},
"avewind": {
"mph": 6,
"kph": 10,
"dir": "WSW",
"degrees": 0
},
"avehumidity": 59,
"maxhumidity": 0,
"minhumidity": 0
}
,
{"date":{
"epoch":"1406813400",
"pretty":"7:00 PM IST on July 31, 2014",
"day":31,
"month":7,
"year":2014,
"yday":211,
"hour":19,
"min":"00",
"sec":0,
"isdst":"0",
"monthname":"July",
"monthname_short":"Jul",
"weekday_short":"Thu",
"weekday":"Thursday",
"ampm":"PM",
"tz_short":"IST",
"tz_long":"Asia/Kolkata"
},
"period":2,
"high": {
"fahrenheit":"96",
"celsius":"36"
},
"low": {
"fahrenheit":"84",
"celsius":"29"
},
"conditions":"Mostly Cloudy",
"icon":"mostlycloudy",
"icon_url":"http://icons.wxug.com/i/c/k/mostlycloudy.gif",
"skyicon":"",
"pop":10,
"qpf_allday": {
"in": 0.00,
"mm": 0
},
"qpf_day": {
"in": 0.00,
"mm": 0
},
"qpf_night": {
"in": 0.00,
"mm": 0
},
"snow_allday": {
"in": 0.0,
"cm": 0.0
},
"snow_day": {
"in": 0.0,
"cm": 0.0
},
"snow_night": {
"in": 0.0,
"cm": 0.0
},
"maxwind": {
"mph": 20,
"kph": 32,
"dir": "WSW",
"degrees": 244
},
"avewind": {
"mph": 13,
"kph": 21,
"dir": "WSW",
"degrees": 244
},
"avehumidity": 58,
"maxhumidity": 0,
"minhumidity": 0
}
,
{"date":{
"epoch":"1406899800",
"pretty":"7:00 PM IST on August 01, 2014",
"day":1,
"month":8,
"year":2014,
"yday":212,
"hour":19,
"min":"00",
"sec":0,
"isdst":"0",
"monthname":"August",
"monthname_short":"Aug",
"weekday_short":"Fri",
"weekday":"Friday",
"ampm":"PM",
"tz_short":"IST",
"tz_long":"Asia/Kolkata"
},
"period":3,
"high": {
"fahrenheit":"97",
"celsius":"36"
},
"low": {
"fahrenheit":"84",
"celsius":"29"
},
"conditions":"Partly Cloudy",
"icon":"partlycloudy",
"icon_url":"http://icons.wxug.com/i/c/k/partlycloudy.gif",
"skyicon":"",
"pop":10,
"qpf_allday": {
"in": 0.00,
"mm": 0
},
"qpf_day": {
"in": 0.00,
"mm": 0
},
"qpf_night": {
"in": 0.00,
"mm": 0
},
"snow_allday": {
"in": 0.0,
"cm": 0.0
},
"snow_day": {
"in": 0.0,
"cm": 0.0
},
"snow_night": {
"in": 0.0,
"cm": 0.0
},
"maxwind": {
"mph": 15,
"kph": 24,
"dir": "WSW",
"degrees": 246
},
"avewind": {
"mph": 11,
"kph": 18,
"dir": "WSW",
"degrees": 246
},
"avehumidity": 57,
"maxhumidity": 0,
"minhumidity": 0
}
,
{"date":{
"epoch":"1406986200",
"pretty":"7:00 PM IST on August 02, 2014",
"day":2,
"month":8,
"year":2014,
"yday":213,
"hour":19,
"min":"00",
"sec":0,
"isdst":"0",
"monthname":"August",
"monthname_short":"Aug",
"weekday_short":"Sat",
"weekday":"Saturday",
"ampm":"PM",
"tz_short":"IST",
"tz_long":"Asia/Kolkata"
},
"period":4,
"high": {
"fahrenheit":"98",
"celsius":"37"
},
"low": {
"fahrenheit":"84",
"celsius":"29"
},
"conditions":"Chance of a Thunderstorm",
"icon":"chancetstorms",
"icon_url":"http://icons.wxug.com/i/c/k/chancetstorms.gif",
"skyicon":"",
"pop":40,
"qpf_allday": {
"in": 0.06,
"mm": 2
},
"qpf_day": {
"in": 0.04,
"mm": 1
},
"qpf_night": {
"in": 0.00,
"mm": 0
},
"snow_allday": {
"in": 0.0,
"cm": 0.0
},
"snow_day": {
"in": 0.0,
"cm": 0.0
},
"snow_night": {
"in": 0.0,
"cm": 0.0
},
"maxwind": {
"mph": 15,
"kph": 24,
"dir": "WSW",
"degrees": 251
},
"avewind": {
"mph": 11,
"kph": 18,
"dir": "WSW",
"degrees": 251
},
"avehumidity": 58,
"maxhumidity": 0,
"minhumidity": 0
}
]
}
}
}
see that.. :)
json handling in asp.net[^]
这篇关于如何使用c#在asp.net网站上读取和打印json数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!