需要一些帮助在这里。 我没有反序列化vb.net中的这个json。 我需要值lat:-21.4105261和lng:-42.1956855。反序列化JSON vb.net响应谷歌地图API
{
"results" : [
{
"address_components" : [
{
"long_name" : "28460-000",
"short_name" : "28460-000",
"types" : [ "postal_code" ]
}
],
"formatted_address" : "Rua Francisco Cardoso, 25 - Morro do Demétrio, Miracema - RJ, 28460-000, Brazil",
"geometry" : {
"bounds" : {
"northeast" : {
"lat" : -21.4105261,
"lng" : -42.1956855
},
"southwest" : {
"lat" : -21.4105429,
"lng" : -42.1956892
}
},
"location" : {
"lat" : -21.4105429,
"lng" : -42.1956892
},
"location_type" : "RANGE_INTERPOLATED",
"viewport" : {
"northeast" : {
"lat" : -21.4091855197085,
"lng" : -42.1943383697085
},
"southwest" : {
"lat" : -21.4118834802915,
"lng" : -42.1970363302915
}
}
},
"place_id" : "ElBSdWEgRnJhbmNpc2NvIENhcmRvc28sIDI1IC0gTW9ycm8gZG8gRGVtw6l0cmlvLCBNaXJhY2VtYSAtIFJKLCAyODQ2MC0wMDAsIEJyYXNpbA",
"types" : [ "street_address" ]
}
],
"status" : "OK"
}
任何人都可以帮忙吗? 这是我第一次使用Json,所以我没有经历过它。 Ps:我已经安装了json.net库。
欢迎堆栈溢出!请花一点时间仔细阅读*:[问] – Plutonix 2015-04-04 20:19:10