public List<GeocoderResponse> geocode(List<GeocoderRequest> geocoderRequests) { Dictionary<string, string> parameters = new Dictionary<string, string>(); parameters.Add("data", JsonConvert.SerializeObject(geocoderRequests, getClientJsonSerializerSettings())); List<List<string>> responseList = (List<List<string>>) callAndConvert("/geocoder/geocode/", new List<List<string>>().GetType(), parameters); List<GeocoderResponse> geocoderResponses = new List<GeocoderResponse>(responseList.Count); foreach (List<string> response in responseList) { if (response.Count >= 3) { GeocoderResponse resp = new GeocoderResponse(); resp.code = response.ElementAt(0); resp.latitude = float.Parse(response.ElementAt(1)); resp.longitude = float.Parse(response.ElementAt(2)); geocoderResponses.Add(resp); } } return geocoderResponses; }