public static GeoDecodingServiceWrp GeoDecoding(LocationXY loc) { GeocodingService geSv = new GeocodingService(); JObject jObj = geSv.DeGeocoding(loc.ToString()); GeoDecodingServiceWrp rslt = jObj.ToObject <GeoDecodingServiceWrp>(); return(rslt); }