我尝试了一下,做了一个简单的测试,并成功了(增加了结果和其他):
public class GoogleGeoCodeResponse{ public string status { get; set; } public results[] results { get; set; }}public class results{ public string formatted_address { get; set; } public geometry geometry { get; set; } public string[] types { get; set; } public address_component[] address_components { get; set; }}public class geometry{ public string location_type { get; set; } public location location { get; set; }}public class location{ public string lat { get; set; } public string lng { get; set; }}public class address_component{ public string long_name { get; set; } public string short_name { get; set; } public string[] types { get; set; }}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)