restsharp / RestSharp

Simple REST and HTTP API Client for .NET
https://restsharp.dev
Apache License 2.0
9.63k stars 2.34k forks source link

De-serialization returning no errors... #191

Closed wojouk closed 12 years ago

wojouk commented 12 years ago

I have successfully used RestSharp on a number of tasks now and usually have no problems to de-serialize into a given object structure. This time around I am stuck - as the request de-serializes partly...The part that does not de-serialize returns null, but returns no error in the response.ErrorException/ErrorMessage. Typically, I used to get errors if something was not correct, but not this time around. I checked the response object and the JSON data is there as expected. I validated the JSON data using online validators : checks out..

Basically, I am trying to de-serialize into:

public class StoreFinderWrapper
{                     
    public List<HolidayPeriod> ActiveHolidayDays;     
    public List<Store> StoreResults;  // this also has another list inside

    public string Status { get; set; }
    public string ErrorMessage { get; set; }
    public string ErrorCode { get; set; }
}

even if you do something as basic as ListStoreResults, it is still null....Looking at JSON string attached, it should easily map, but perhaps there is an issue which causes the code to fail, but somehow not return an error?

Here is the JSON data that de-serializes partially:

{"d":{"ActiveHolidayDays":[],"StoreResults":[{"activeHolidayTimes":[],"name":"Yiewsley","storename1":"Yiewsley","addressline1":"High Street","addressline2":"","storename":"Yiewsley","street":"","town":"Yiewsley","city":"West Drayton","county":"","pc":"UB7 7QQ","region":"Greater London","country":"United Kingdom","telephone":"01895 432714","GeoQuality":"","lon":"-0.47317","lat":"51.51143","storetype":"1","storeopened":null,"store_hr_sun":"1000-1600","store_hr_mon":"0700-2200","store_hr_tue":"0700-2200","store_hr_wed":"0700-2200","store_hr_thur":"0700-2200","store_hr_fri":"0700-2200","store_hr_sat":"0700-2200","petrol_hr_sun":"","petrol_hr_mon":"","petrol_hr_tue":"","petrol_hr_wed":"","petrol_hr_thur":"","petrol_hr_fri":"","petrol_hr_sat":"","pharm_hr_sun":"","pharm_hr_mon":"","pharm_hr_tue":"","pharm_hr_wed":"","pharm_hr_thur":"","pharm_hr_fri":"","pharm_hr_sat":"","cafe_hr_sun":"","cafe_hr_mon":"","cafe_hr_tue":"","cafe_hr_wed":"","cafe_hr_thur":"","cafe_hr_fri":"","cafe_hr_sat":"","petrol_station":"0","car_wash":"0","pharmacy":"0","dry_cleaning":"0","foto_processing":"0","cafe":"0","free_parking":"1","all_day_cash":"0","pc_parking":"1","disabled":"1","fish_counter":"1","butcher":"1","cakes":"0","baker":"1","provisions":"1","saladbar":"1","oven_fresh":"1","recycling":"0","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"0","lottery":"1"},{"activeHolidayTimes":[],"name":"Hounslow","storename1":"Hounslow","addressline1":"8 Cavendish Parade","addressline2":"Hounslow","storename":"Hounslow","street":"","town":"","city":"","county":"","pc":"TW4 7DJ","region":"Greater London","country":"United Kingdom","telephone":"0208 5724891","GeoQuality":"","lon":"-0.38543","lat":"51.47246","storetype":"0","storeopened":null,"store_hr_sun":"1000-1600","store_hr_mon":"0800-2100","store_hr_tue":"0800-2100","store_hr_wed":"0800-2100","store_hr_thur":"0800-2100","store_hr_fri":"0800-2100","store_hr_sat":"0800-2100","petrol_hr_sun":"","petrol_hr_mon":"","petrol_hr_tue":"","petrol_hr_wed":"","petrol_hr_thur":"","petrol_hr_fri":"","petrol_hr_sat":"","pharm_hr_sun":"","pharm_hr_mon":"","pharm_hr_tue":"","pharm_hr_wed":"","pharm_hr_thur":"","pharm_hr_fri":"","pharm_hr_sat":"","cafe_hr_sun":"","cafe_hr_mon":"","cafe_hr_tue":"","cafe_hr_wed":"","cafe_hr_thur":"","cafe_hr_fri":"","cafe_hr_sat":"","petrol_station":"0","car_wash":"0","pharmacy":"0","dry_cleaning":"0","foto_processing":"0","cafe":"0","free_parking":"1","all_day_cash":"0","pc_parking":"1","disabled":"1","fish_counter":"1","butcher":"1","cakes":"0","baker":"1","provisions":"1","saladbar":"0","oven_fresh":"1","recycling":"1","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"0","lottery":"1"},{"activeHolidayTimes":[],"name":"Brentford","storename1":"Brentford","addressline1":"High Street","addressline2":"","storename":"Brentford","street":"","town":"Brentford","city":"","county":"","pc":"TW8 0JG","region":"Greater London","country":"United Kingdom","telephone":"020 8560 4254","GeoQuality":"","lon":"-0.30628","lat":"51.48374","storetype":"1","storeopened":null,"store_hr_sun":"1000-1600","store_hr_mon":"0700-2200","store_hr_tue":"0700-2200","store_hr_wed":"0700-2200","store_hr_thur":"0700-2200","store_hr_fri":"0700-2200","store_hr_sat":"0700-2200","petrol_hr_sun":"","petrol_hr_mon":"","petrol_hr_tue":"","petrol_hr_wed":"","petrol_hr_thur":"","petrol_hr_fri":"","petrol_hr_sat":"","pharm_hr_sun":"1000-1600","pharm_hr_mon":"0800-2000","pharm_hr_tue":"0800-2000","pharm_hr_wed":"0800-2000","pharm_hr_thur":"0800-2000","pharm_hr_fri":"0800-2100","pharm_hr_sat":"0800-2000","cafe_hr_sun":"","cafe_hr_mon":"","cafe_hr_tue":"","cafe_hr_wed":"","cafe_hr_thur":"","cafe_hr_fri":"","cafe_hr_sat":"","petrol_station":"0","car_wash":"0","pharmacy":"1","dry_cleaning":"0","foto_processing":"0","cafe":"0","free_parking":"1","all_day_cash":"0","pc_parking":"1","disabled":"1","fish_counter":"1","butcher":"1","cakes":"0","baker":"1","provisions":"1","saladbar":"0","oven_fresh":"1","recycling":"1","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"0","lottery":"1"},{"activeHolidayTimes":[],"name":"Woking","storename1":"Woking","addressline1":"","addressline2":"82 Goldsworth Road","storename":"Woking","street":"","town":"Woking","city":"Surrey","county":"","pc":"GU21 6ND","region":"South East","country":"United Kingdom","telephone":"01483 755552","GeoQuality":"","lon":"-0.5694","lat":"51.317","storetype":"1","storeopened":null,"store_hr_sun":"1000-1600","store_hr_mon":"0700-2200","store_hr_tue":"0700-2200","store_hr_wed":"0700-2200","store_hr_thur":"0700-2200","store_hr_fri":"0700-2200","store_hr_sat":"0700-2200","petrol_hr_sun":"0800-2200","petrol_hr_mon":"0700-2230","petrol_hr_tue":"0700-2230","petrol_hr_wed":"0700-2230","petrol_hr_thur":"0700-2230","petrol_hr_fri":"0700-2230","petrol_hr_sat":"0700-2230","pharm_hr_sun":"","pharm_hr_mon":"","pharm_hr_tue":"","pharm_hr_wed":"","pharm_hr_thur":"","pharm_hr_fri":"","pharm_hr_sat":"","cafe_hr_sun":"0930-1600","cafe_hr_mon":"0700-2000","cafe_hr_tue":"0700-2000","cafe_hr_wed":"0700-2000","cafe_hr_thur":"0700-2000","cafe_hr_fri":"0700-2000","cafe_hr_sat":"0700-1900","petrol_station":"1","car_wash":"1","pharmacy":"0","dry_cleaning":"1","foto_processing":"1","cafe":"1","free_parking":"1","all_day_cash":"1","pc_parking":"1","disabled":"1","fish_counter":"1","butcher":"1","cakes":"1","baker":"1","provisions":"1","saladbar":"1","oven_fresh":"1","recycling":"1","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"1","lottery":"1"},{"activeHolidayTimes":[],"name":"Acton","storename1":"Acton","addressline1":"","addressline2":"King Street","storename":"Acton","street":"","town":"Acton","city":"","county":"","pc":"W3 9LA","region":"Greater London","country":"UK","telephone":"020 8993 6566","GeoQuality":"","lon":"-0.27288","lat":"51.50792","storetype":"1","storeopened":null,"store_hr_sun":"1000-1600","store_hr_mon":"0700-2300","store_hr_tue":"0700-2300","store_hr_wed":"0700-2300","store_hr_thur":"0700-2300","store_hr_fri":"0700-2300","store_hr_sat":"0700-2300","petrol_hr_sun":"","petrol_hr_mon":"","petrol_hr_tue":"","petrol_hr_wed":"","petrol_hr_thur":"","petrol_hr_fri":"","petrol_hr_sat":"","pharm_hr_sun":"","pharm_hr_mon":"","pharm_hr_tue":"","pharm_hr_wed":"","pharm_hr_thur":"","pharm_hr_fri":"","pharm_hr_sat":"","cafe_hr_sun":"1000-1600","cafe_hr_mon":"0800-1900","cafe_hr_tue":"0800-1900","cafe_hr_wed":"0800-1900","cafe_hr_thur":"0830-2000","cafe_hr_fri":"0830-2000","cafe_hr_sat":"0800-1900","petrol_station":"0","car_wash":"0","pharmacy":"0","dry_cleaning":"0","foto_processing":"0","cafe":"1","free_parking":"1","all_day_cash":"0","pc_parking":"1","disabled":"1","fish_counter":"1","butcher":"1","cakes":"0","baker":"1","provisions":"1","saladbar":"0","oven_fresh":"1","recycling":"1","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"0","lottery":"1"},{"activeHolidayTimes":[],"name":"Bracknell","storename1":"Bracknell","addressline1":"","addressline2":"The Peel Centre","storename":"Bracknell","street":"","town":"Bracknell","city":"Berkshire","county":"","pc":"RG12 1EN","region":"South East","country":"United Kingdom","telephone":"01344 862188","GeoQuality":"","lon":"-0.75528","lat":"51.41447","storetype":"1","storeopened":null,"store_hr_sun":"1000-1600","store_hr_mon":"0700-2100","store_hr_tue":"0700-2100","store_hr_wed":"0700-2100","store_hr_thur":"0700-2100","store_hr_fri":"0700-2100","store_hr_sat":"0700-2100","petrol_hr_sun":"","petrol_hr_mon":"","petrol_hr_tue":"","petrol_hr_wed":"","petrol_hr_thur":"","petrol_hr_fri":"","petrol_hr_sat":"","pharm_hr_sun":"","pharm_hr_mon":"","pharm_hr_tue":"","pharm_hr_wed":"","pharm_hr_thur":"","pharm_hr_fri":"","pharm_hr_sat":"","cafe_hr_sun":"0930-1500","cafe_hr_mon":"0700-1800","cafe_hr_tue":"0700-1800","cafe_hr_wed":"0700-1800","cafe_hr_thur":"0700-2000","cafe_hr_fri":"0700-2000","cafe_hr_sat":"0700-1800","petrol_station":"0","car_wash":"0","pharmacy":"0","dry_cleaning":"0","foto_processing":"0","cafe":"1","free_parking":"0","all_day_cash":"1","pc_parking":"1","disabled":"1","fish_counter":"1","butcher":"1","cakes":"0","baker":"1","provisions":"1","saladbar":"1","oven_fresh":"1","recycling":"1","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"0","lottery":"1"},{"activeHolidayTimes":[],"name":"Hatch End","storename1":"Hatch End","addressline1":"","addressline2":"299 Uxbridge Road","storename":"Hatch End","street":"","town":"Hatch End","city":"Middlesex","county":"","pc":"HA5 4QT","region":"Greater London","country":"UK","telephone":"020 8420 1077","GeoQuality":"","lon":"-0.36487","lat":"51.60803","storetype":"1","storeopened":null,"store_hr_sun":"1000-1600","store_hr_mon":"0800-2200","store_hr_tue":"0800-2200","store_hr_wed":"0800-2200","store_hr_thur":"0800-2200","store_hr_fri":"0800-2200","store_hr_sat":"0800-2200","petrol_hr_sun":"","petrol_hr_mon":"","petrol_hr_tue":"","petrol_hr_wed":"","petrol_hr_thur":"","petrol_hr_fri":"","petrol_hr_sat":"","pharm_hr_sun":"","pharm_hr_mon":"","pharm_hr_tue":"","pharm_hr_wed":"","pharm_hr_thur":"","pharm_hr_fri":"","pharm_hr_sat":"","cafe_hr_sun":"0930-1530","cafe_hr_mon":"0800-1900","cafe_hr_tue":"0800-1900","cafe_hr_wed":"0800-1900","cafe_hr_thur":"0830-2000","cafe_hr_fri":"0830-2000","cafe_hr_sat":"0830-1900","petrol_station":"0","car_wash":"0","pharmacy":"0","dry_cleaning":"0","foto_processing":"0","cafe":"1","free_parking":"1","all_day_cash":"0","pc_parking":"1","disabled":"1","fish_counter":"1","butcher":"1","cakes":"1","baker":"1","provisions":"1","saladbar":"0","oven_fresh":"1","recycling":"1","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"0","lottery":"1"},{"activeHolidayTimes":[],"name":"Shepherds Bush","storename1":"Shepherds Bush","addressline1":"","addressline2":"114/125 Concorde Centre","storename":"Shepherds Bush","street":"","town":"Shepherds Bush","city":"","county":"","pc":"W12 8PH","region":"Greater London","country":"United Kingdom","telephone":"020 8743 5744","GeoQuality":"","lon":"-0.21937","lat":"51.50387","storetype":"1","storeopened":null,"store_hr_sun":"1100-1700","store_hr_mon":"0700-2300","store_hr_tue":"0700-2300","store_hr_wed":"0700-2300","store_hr_thur":"0700-2300","store_hr_fri":"0700-2300","store_hr_sat":"0700-2300","petrol_hr_sun":"","petrol_hr_mon":"","petrol_hr_tue":"","petrol_hr_wed":"","petrol_hr_thur":"","petrol_hr_fri":"","petrol_hr_sat":"","pharm_hr_sun":"1100-1700","pharm_hr_mon":"0800-2100","pharm_hr_tue":"0800-2100","pharm_hr_wed":"0800-2100","pharm_hr_thur":"0800-2000","pharm_hr_fri":"0800-2000","pharm_hr_sat":"0800-1800","cafe_hr_sun":"","cafe_hr_mon":"","cafe_hr_tue":"","cafe_hr_wed":"","cafe_hr_thur":"","cafe_hr_fri":"","cafe_hr_sat":"","petrol_station":"0","car_wash":"0","pharmacy":"1","dry_cleaning":"1","foto_processing":"0","cafe":"0","free_parking":"0","all_day_cash":"0","pc_parking":"0","disabled":"1","fish_counter":"1","butcher":"0","cakes":"0","baker":"0","provisions":"0","saladbar":"0","oven_fresh":"1","recycling":"1","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"0","lottery":"1"},{"activeHolidayTimes":[],"name":"Wimbledon","storename1":"Wimbledon","addressline1":"","addressline2":"51 The Broadway","storename":"Wimbledon","street":"","town":"Wimbledon","city":"","county":"","pc":"SW19 1QB","region":"Greater London","country":"UK","telephone":"0208 879 3353","GeoQuality":"","lon":"-0.20512","lat":"51.41992","storetype":"1","storeopened":null,"store_hr_sun":"1100-1700","store_hr_mon":"0700-2300","store_hr_tue":"0700-2300","store_hr_wed":"0700-2300","store_hr_thur":"0700-2300","store_hr_fri":"0700-2300","store_hr_sat":"0700-2300","petrol_hr_sun":"","petrol_hr_mon":"","petrol_hr_tue":"","petrol_hr_wed":"","petrol_hr_thur":"","petrol_hr_fri":"","petrol_hr_sat":"","pharm_hr_sun":"","pharm_hr_mon":"","pharm_hr_tue":"","pharm_hr_wed":"","pharm_hr_thur":"","pharm_hr_fri":"","pharm_hr_sat":"","cafe_hr_sun":"1030-1700","cafe_hr_mon":"0700-2000","cafe_hr_tue":"0700-2000","cafe_hr_wed":"0700-2000","cafe_hr_thur":"0700-2000","cafe_hr_fri":"0700-2000","cafe_hr_sat":"0700-2000","petrol_station":"0","car_wash":"0","pharmacy":"0","dry_cleaning":"0","foto_processing":"0","cafe":"0","free_parking":"0","all_day_cash":"0","pc_parking":"0","disabled":"1","fish_counter":"1","butcher":"1","cakes":"0","baker":"1","provisions":"0","saladbar":"1","oven_fresh":"1","recycling":"0","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"0","lottery":"1"},{"activeHolidayTimes":[],"name":"Queensbury","storename1":"Queensbury","addressline1":"","addressline2":"Honeypot Lane","storename":"Queensbury","street":"","town":"Queensbury","city":"","county":"","pc":"NW9 9RL","region":"Greater London","country":"United Kingdom","telephone":"020 8204 6958","GeoQuality":"","lon":"-0.2849","lat":"51.5921","storetype":"1","storeopened":null,"store_hr_sun":"1000-1600","store_hr_mon":"0700-2300","store_hr_tue":"0700-2300","store_hr_wed":"0700-2300","store_hr_thur":"0700-2300","store_hr_fri":"0700-2300","store_hr_sat":"0700-2300","petrol_hr_sun":"0800-2200","petrol_hr_mon":"0600-2330","petrol_hr_tue":"0600-2330","petrol_hr_wed":"0600-2330","petrol_hr_thur":"0600-2330","petrol_hr_fri":"0600-2330","petrol_hr_sat":"0600-2330","pharm_hr_sun":"1000-1600","pharm_hr_mon":"0800-2000","pharm_hr_tue":"0800-2000","pharm_hr_wed":"0800-2000","pharm_hr_thur":"0800-2200","pharm_hr_fri":"0800-2200","pharm_hr_sat":"0800-2000","cafe_hr_sun":"0930-1600","cafe_hr_mon":"0800-1900","cafe_hr_tue":"0800-1900","cafe_hr_wed":"0800-1900","cafe_hr_thur":"0800-2000","cafe_hr_fri":"0800-2000","cafe_hr_sat":"0800-1800","petrol_station":"1","car_wash":"0","pharmacy":"1","dry_cleaning":"1","foto_processing":"1","cafe":"1","free_parking":"1","all_day_cash":"1","pc_parking":"1","disabled":"1","fish_counter":"1","butcher":"1","cakes":"1","baker":"1","provisions":"1","saladbar":"1","oven_fresh":"1","recycling":"0","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"1","lottery":"1"},{"activeHolidayTimes":[],"name":"Sutton","storename1":"Sutton","addressline1":"","addressline2":"High Street","storename":"Sutton","street":"","town":"Sutton","city":"Surrey","county":"","pc":"SM1 1DD","region":"South East","country":"United Kingdom","telephone":"020 8661 7097","GeoQuality":"","lon":"-0.19341","lat":"51.36066","storetype":"1","storeopened":null,"store_hr_sun":"1000-1600","store_hr_mon":"0700-2300","store_hr_tue":"0700-2300","store_hr_wed":"0700-2300","store_hr_thur":"0700-2300","store_hr_fri":"0700-2300","store_hr_sat":"0700-2300","petrol_hr_sun":"","petrol_hr_mon":"","petrol_hr_tue":"","petrol_hr_wed":"","petrol_hr_thur":"","petrol_hr_fri":"","petrol_hr_sat":"","pharm_hr_sun":"","pharm_hr_mon":"","pharm_hr_tue":"","pharm_hr_wed":"","pharm_hr_thur":"","pharm_hr_fri":"","pharm_hr_sat":"","cafe_hr_sun":"0930-1600","cafe_hr_mon":"0700-2000","cafe_hr_tue":"0700-2000","cafe_hr_wed":"0700-2000","cafe_hr_thur":"0700-2100","cafe_hr_fri":"0700-2100","cafe_hr_sat":"0700-1900","petrol_station":"0","car_wash":"0","pharmacy":"0","dry_cleaning":"1","foto_processing":"1","cafe":"1","free_parking":"1","all_day_cash":"0","pc_parking":"1","disabled":"1","fish_counter":"1","butcher":"1","cakes":"1","baker":"1","provisions":"1","saladbar":"1","oven_fresh":"1","recycling":"0","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"1","lottery":"1"}],"Status":"SUCCESS","ErrorMessage":null,"ErrorCode":null}}

ayoung commented 12 years ago

I don't see anything in particular that stands out. You might need to do a little homework to debug this sucker. Grab the RestSharp source and write a simple unit test for your case and debug the JsonDeserializer.cs class to see if you can pinpoint what is happening.

On Thursday, December 8, 2011 at 10:26, wojouk wrote:

I have successfully used RestSharp on a number of tasks now and usually have no problems to de-serialize into a given object structure. This time around I am stuck - as the request de-serializes partly...The part that does not de-serialize returns null, but returns no error in the response.ErrorException/ErrorMessage. Typically, I used to get errors if something was not correct, but not this time around. I checked the response object and the JSON data is there as expected. I validated the JSON data using online validators : checks out..

Basically, I am trying to de-serialize into:

public class StoreFinderWrapper { public List ActiveHolidayDays; public List StoreResults; // this also has another list inside

public string Status { get; set; } public string ErrorMessage { get; set; } public string ErrorCode { get; set; } }

  • Status : is deserialized correctly and is set 'SUCCESS'...!!!
  • ActiveHolidayDays and StoreResults are both null....despite the data existing for both

even if you do something as basic as ListStoreResults, it is still null....Looking at JSON string attached, it should easily map, but perhaps there is an issue which causes the code to fail, but somehow not return an error?

Here is the JSON data that de-serializes partially:

{"d":{"ActiveHolidayDays":[],"StoreResults":[{"activeHolidayTimes":[],"name":"Yiewsley","storename1":"Yiewsley","addressline1":"High Street","addressline2":"","storename":"Yiewsley","street":"","town":"Yiewsley","city":"West Drayton","county":"","pc":"UB7 7QQ","region":"Greater London","country":"United Kingdom","telephone":"01895 432714","GeoQuality":"","lon":"-0.47317","lat":"51.51143","storetype":"1","storeopened":null,"store_hr_sun":"1000-1600","store_hr_mon":"0700-2200","store_hr_tue":"0700-2200","store_hr_wed":"0700-2200","store_hr_thur":"0700-2200","store_hr_fri":"0700-2200","store_hr_sat":"0700-2200","petrol_hr_sun":"","petrol_hr_mon":"","petrol_hr_tue":"","petrol_hr_wed":"","petrol_hr_thur":"","petrol_hr_fri":"","petrol_hr_sat":"","pharm_hr_sun":"","pharm_hr_mon":"","pharm_hr_tue":"","pharm_hr_wed":"","pharm_hr_thur":"","pharm_hr_fri":"","pharm_hr_sat":"","cafe_hr_sun":"","cafe_hr_mon":"","cafe_hr_tue":"","cafe_hr_wed":"","cafe_hr_thur":"","cafe_hr_fri":"","cafe_hr_s at":"","petrol_station":"0","car_wash":"0","pharmacy":"0","dry_cleaning":"0","foto_processing":"0","cafe":"0","free_parking":"1","all_day_cash":"0","pc_parking":"1","disabled":"1","fish_counter":"1","butcher":"1","cakes":"0","baker":"1","provisions":"1","saladbar":"1","oven_fresh":"1","recycling":"0","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"0","lottery":"1"},{"activeHolidayTimes":[],"name":"Hounslow","storename1":"Hounslow","addressline1":"8 Cavendish Parade","addressline2":"Hounslow","storename":"Hounslow","street":"","town":"","city":"","county":"","pc":"TW4 7DJ","region":"Greater London","country":"United Kingdom","telephone":"0208 5724891","GeoQuality":"","lon":"-0.38543","lat":"51.47246","storetype":"0","storeopened":null,"store_hr_sun":"1000-1600","store_hr_mon":"0800-2100","store_hr_tue":"0800-2100","store_hr_wed":"0800-2100","store_hr_thur":"0800-2100","store_hr_fri":"0800-2100","store_hr_sat":"0800-2100","petrol_hr_sun":"","petrol_hr_mon":"","petrol_hr_tue ":"","petrol_hr_wed":"","petrol_hr_thur":"","petrol_hr_fri":"","petrol_hr_sat":"","pharm_hr_sun":"","pharm_hr_mon":"","pharm_hr_tue":"","pharm_hr_wed":"","pharm_hr_thur":"","pharm_hr_fri":"","pharm_hr_sat":"","cafe_hr_sun":"","cafe_hr_mon":"","cafe_hr_tue":"","cafe_hr_wed":"","cafe_hr_thur":"","cafe_hr_fri":"","cafe_hr_sat":"","petrol_station":"0","car_wash":"0","pharmacy":"0","dry_cleaning":"0","foto_processing":"0","cafe":"0","free_parking":"1","all_day_cash":"0","pc_parking":"1","disabled":"1","fish_counter":"1","butcher":"1","cakes":"0","baker":"1","provisions":"1","saladbar":"0","oven_fresh":"1","recycling":"1","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"0","lottery":"1"},{"activeHolidayTimes":[],"name":"Brentford","storename1":"Brentford","addressline1":"High Street","addressline2":"","storename":"Brentford","street":"","town":"Brentford","city":"","county":"","pc":"TW8 0JG","region":"Greater London","country":"United Kingdom","telephone":"020 8560 4254","GeoQua lity":"","lon":"-0.30628","lat":"51.48374","storetype":"1","storeopened":null,"store_hr_sun":"1000-1600","store_hr_mon":"0700-2200","store_hr_tue":"0700-2200","store_hr_wed":"0700-2200","store_hr_thur":"0700-2200","store_hr_fri":"0700-2200","store_hr_sat":"0700-2200","petrol_hr_sun":"","petrol_hr_mon":"","petrol_hr_tue":"","petrol_hr_wed":"","petrol_hr_thur":"","petrol_hr_fri":"","petrol_hr_sat":"","pharm_hr_sun":"1000-1600","pharm_hr_mon":"0800-2000","pharm_hr_tue":"0800-2000","pharm_hr_wed":"0800-2000","pharm_hr_thur":"0800-2000","pharm_hr_fri":"0800-2100","pharm_hr_sat":"0800-2000","cafe_hr_sun":"","cafe_hr_mon":"","cafe_hr_tue":"","cafe_hr_wed":"","cafe_hr_thur":"","cafe_hr_fri":"","cafe_hr_sat":"","petrol_station":"0","car_wash":"0","pharmacy":"1","dry_cleaning":"0","foto_processing":"0","cafe":"0","free_parking":"1","all_day_cash":"0","pc_parking":"1","disabled":"1","fish_counter":"1","butcher":"1","cakes":"0","baker":"1","provisions":"1","saladbar":"0","oven_fresh":"1 ","recycling":"1","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"0","lottery":"1"},{"activeHolidayTimes":[],"name":"Woking","storename1":"Woking","addressline1":"","addressline2":"82 Goldsworth Road","storename":"Woking","street":"","town":"Woking","city":"Surrey","county":"","pc":"GU21 6ND","region":"South East","country":"United Kingdom","telephone":"01483 755552","GeoQuality":"","lon":"-0.5694","lat":"51.317","storetype":"1","storeopened":null,"store_hr_sun":"1000-1600","store_hr_mon":"0700-2200","store_hr_tue":"0700-2200","store_hr_wed":"0700-2200","store_hr_thur":"0700-2200","store_hr_fri":"0700-2200","store_hr_sat":"0700-2200","petrol_hr_sun":"0800-2200","petrol_hr_mon":"0700-2230","petrol_hr_tue":"0700-2230","petrol_hr_wed":"0700-2230","petrol_hr_thur":"0700-2230","petrol_hr_fri":"0700-2230","petrol_hr_sat":"0700-2230","pharm_hr_sun":"","pharm_hr_mon":"","pharm_hr_tue":"","pharm_hr_wed":"","pharm_hr_thur":"","pharm_hr_fri":"","pharm_hr_sat":"","cafe_hr_sun":"0930- 1600","cafe_hr_mon":"0700-2000","cafe_hr_tue":"0700-2000","cafe_hr_wed":"0700-2000","cafe_hr_thur":"0700-2000","cafe_hr_fri":"0700-2000","cafe_hr_sat":"0700-1900","petrol_station":"1","car_wash":"1","pharmacy":"0","dry_cleaning":"1","foto_processing":"1","cafe":"1","free_parking":"1","all_day_cash":"1","pc_parking":"1","disabled":"1","fish_counter":"1","butcher":"1","cakes":"1","baker":"1","provisions":"1","saladbar":"1","oven_fresh":"1","recycling":"1","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"1","lottery":"1"},{"activeHolidayTimes":[],"name":"Acton","storename1":"Acton","addressline1":"","addressline2":"King Street","storename":"Acton","street":"","town":"Acton","city":"","county":"","pc":"W3 9LA","region":"Greater London","country":"UK","telephone":"020 8993 6566","GeoQuality":"","lon":"-0.27288","lat":"51.50792","storetype":"1","storeopened":null,"store_hr_sun":"1000-1600","store_hr_mon":"0700-2300","store_hr_tue":"0700-2300","store_hr_wed":"0700-2300","store_hr _thur":"0700-2300","store_hr_fri":"0700-2300","store_hr_sat":"0700-2300","petrol_hr_sun":"","petrol_hr_mon":"","petrol_hr_tue":"","petrol_hr_wed":"","petrol_hr_thur":"","petrol_hr_fri":"","petrol_hr_sat":"","pharm_hr_sun":"","pharm_hr_mon":"","pharm_hr_tue":"","pharm_hr_wed":"","pharm_hr_thur":"","pharm_hr_fri":"","pharm_hr_sat":"","cafe_hr_sun":"1000-1600","cafe_hr_mon":"0800-1900","cafe_hr_tue":"0800-1900","cafe_hr_wed":"0800-1900","cafe_hr_thur":"0830-2000","cafe_hr_fri":"0830-2000","cafe_hr_sat":"0800-1900","petrol_station":"0","car_wash":"0","pharmacy":"0","dry_cleaning":"0","foto_processing":"0","cafe":"1","free_parking":"1","all_day_cash":"0","pc_parking":"1","disabled":"1","fish_counter":"1","butcher":"1","cakes":"0","baker":"1","provisions":"1","saladbar":"0","oven_fresh":"1","recycling":"1","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"0","lottery":"1"},{"activeHolidayTimes":[],"name":"Bracknell","storename1":"Bracknell","addressline1":"","addressline2":"The P eel Centre","storename":"Bracknell","street":"","town":"Bracknell","city":"Berkshire","county":"","pc":"RG12 1EN","region":"South East","country":"United Kingdom","telephone":"01344 862188","GeoQuality":"","lon":"-0.75528","lat":"51.41447","storetype":"1","storeopened":null,"store_hr_sun":"1000-1600","store_hr_mon":"0700-2100","store_hr_tue":"0700-2100","store_hr_wed":"0700-2100","store_hr_thur":"0700-2100","store_hr_fri":"0700-2100","store_hr_sat":"0700-2100","petrol_hr_sun":"","petrol_hr_mon":"","petrol_hr_tue":"","petrol_hr_wed":"","petrol_hr_thur":"","petrol_hr_fri":"","petrol_hr_sat":"","pharm_hr_sun":"","pharm_hr_mon":"","pharm_hr_tue":"","pharm_hr_wed":"","pharm_hr_thur":"","pharm_hr_fri":"","pharm_hr_sat":"","cafe_hr_sun":"0930-1500","cafe_hr_mon":"0700-1800","cafe_hr_tue":"0700-1800","cafe_hr_wed":"0700-1800","cafe_hr_thur":"0700-2000","cafe_hr_fri":"0700-2000","cafe_hr_sat":"0700-1800","petrol_station":"0","car_wash":"0","pharmacy":"0","dry_cleaning":"0","foto_proc essing":"0","cafe":"1","free_parking":"0","all_day_cash":"1","pc_parking":"1","disabled":"1","fish_counter":"1","butcher":"1","cakes":"0","baker":"1","provisions":"1","saladbar":"1","oven_fresh":"1","recycling":"1","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"0","lottery":"1"},{"activeHolidayTimes":[],"name":"Hatch End","storename1":"Hatch End","addressline1":"","addressline2":"299 Uxbridge Road","storename":"Hatch End","street":"","town":"Hatch End","city":"Middlesex","county":"","pc":"HA5 4QT","region":"Greater London","country":"UK","telephone":"020 8420 1077","GeoQuality":"","lon":"-0.36487","lat":"51.60803","storetype":"1","storeopened":null,"store_hr_sun":"1000-1600","store_hr_mon":"0800-2200","store_hr_tue":"0800-2200","store_hr_wed":"0800-2200","store_hr_thur":"0800-2200","store_hr_fri":"0800-2200","store_hr_sat":"0800-2200","petrol_hr_sun":"","petrol_hr_mon":"","petrol_hr_tue":"","petrol_hr_wed":"","petrol_hr_thur":"","petrol_hr_fri":"","petrol_hr_sat":"","pha rm_hr_sun":"","pharm_hr_mon":"","pharm_hr_tue":"","pharm_hr_wed":"","pharm_hr_thur":"","pharm_hr_fri":"","pharm_hr_sat":"","cafe_hr_sun":"0930-1530","cafe_hr_mon":"0800-1900","cafe_hr_tue":"0800-1900","cafe_hr_wed":"0800-1900","cafe_hr_thur":"0830-2000","cafe_hr_fri":"0830-2000","cafe_hr_sat":"0830-1900","petrol_station":"0","car_wash":"0","pharmacy":"0","dry_cleaning":"0","foto_processing":"0","cafe":"1","free_parking":"1","all_day_cash":"0","pc_parking":"1","disabled":"1","fish_counter":"1","butcher":"1","cakes":"1","baker":"1","provisions":"1","saladbar":"0","oven_fresh":"1","recycling":"1","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"0","lottery":"1"},{"activeHolidayTimes":[],"name":"Shepherds Bush","storename1":"Shepherds Bush","addressline1":"","addressline2":"114/125 Concorde Centre","storename":"Shepherds Bush","street":"","town":"Shepherds Bush","city":"","county":"","pc":"W12 8PH","region":"Greater London","country":"United Kingdom","telephone":"020 8743 5744 ","GeoQuality":"","lon":"-0.21937","lat":"51.50387","storetype":"1","storeopened":null,"store_hr_sun":"1100-1700","store_hr_mon":"0700-2300","store_hr_tue":"0700-2300","store_hr_wed":"0700-2300","store_hr_thur":"0700-2300","store_hr_fri":"0700-2300","store_hr_sat":"0700-2300","petrol_hr_sun":"","petrol_hr_mon":"","petrol_hr_tue":"","petrol_hr_wed":"","petrol_hr_thur":"","petrol_hr_fri":"","petrol_hr_sat":"","pharm_hr_sun":"1100-1700","pharm_hr_mon":"0800-2100","pharm_hr_tue":"0800-2100","pharm_hr_wed":"0800-2100","pharm_hr_thur":"0800-2000","pharm_hr_fri":"0800-2000","pharm_hr_sat":"0800-1800","cafe_hr_sun":"","cafe_hr_mon":"","cafe_hr_tue":"","cafe_hr_wed":"","cafe_hr_thur":"","cafe_hr_fri":"","cafe_hr_sat":"","petrol_station":"0","car_wash":"0","pharmacy":"1","dry_cleaning":"1","foto_processing":"0","cafe":"0","free_parking":"0","all_day_cash":"0","pc_parking":"0","disabled":"1","fishcounter":"1","butcher":"0","cakes":"0","baker":"0","provisions":"0","saladbar":"0","oven fresh":"1","recycling":"1","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"0","lottery":"1"},{"activeHolidayTimes":[],"name":"Wimbledon","storename1":"Wimbledon","addressline1":"","addressline2":"51 The Broadway","storename":"Wimbledon","street":"","town":"Wimbledon","city":"","county":"","pc":"SW19 1QB","region":"Greater London","country":"UK","telephone":"0208 879 3353","GeoQuality":"","lon":"-0.20512","lat":"51.41992","storetype":"1","storeopened":null,"store_hr_sun":"1100-1700","store_hr_mon":"0700-2300","store_hr_tue":"0700-2300","store_hr_wed":"0700-2300","store_hr_thur":"0700-2300","store_hr_fri":"0700-2300","store_hr_sat":"0700-2300","petrol_hr_sun":"","petrol_hr_mon":"","petrol_hr_tue":"","petrol_hr_wed":"","petrol_hr_thur":"","petrol_hr_fri":"","petrol_hr_sat":"","pharm_hr_sun":"","pharm_hr_mon":"","pharm_hr_tue":"","pharm_hr_wed":"","pharm_hr_thur":"","pharm_hr_fri":"","pharm_hr_sat":"","cafe_hr_sun":"1030-1700","cafe_hr_mon":"0700-2000","cafe_hr_tue":"0700-200 0","cafe_hr_wed":"0700-2000","cafe_hr_thur":"0700-2000","cafe_hr_fri":"0700-2000","cafe_hr_sat":"0700-2000","petrol_station":"0","car_wash":"0","pharmacy":"0","dry_cleaning":"0","foto_processing":"0","cafe":"0","free_parking":"0","all_day_cash":"0","pc_parking":"0","disabled":"1","fish_counter":"1","butcher":"1","cakes":"0","baker":"1","provisions":"0","saladbar":"1","oven_fresh":"1","recycling":"0","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"0","lottery":"1"},{"activeHolidayTimes":[],"name":"Queensbury","storename1":"Queensbury","addressline1":"","addressline2":"Honeypot Lane","storename":"Queensbury","street":"","town":"Queensbury","city":"","county":"","pc":"NW9 9RL","region":"Greater London","country":"United Kingdom","telephone":"020 8204 6958","GeoQuality":"","lon":"-0.2849","lat":"51.5921","storetype":"1","storeopened":null,"store_hr_sun":"1000-1600","store_hr_mon":"0700-2300","store_hr_tue":"0700-2300","store_hr_wed":"0700-2300","store_hr_thur":"0700-2300","st ore_hr_fri":"0700-2300","store_hr_sat":"0700-2300","petrol_hr_sun":"0800-2200","petrol_hr_mon":"0600-2330","petrol_hr_tue":"0600-2330","petrol_hr_wed":"0600-2330","petrol_hr_thur":"0600-2330","petrol_hr_fri":"0600-2330","petrol_hr_sat":"0600-2330","pharm_hr_sun":"1000-1600","pharm_hr_mon":"0800-2000","pharm_hr_tue":"0800-2000","pharm_hr_wed":"0800-2000","pharm_hr_thur":"0800-2200","pharm_hr_fri":"0800-2200","pharm_hr_sat":"0800-2000","cafe_hr_sun":"0930-1600","cafe_hr_mon":"0800-1900","cafe_hr_tue":"0800-1900","cafe_hr_wed":"0800-1900","cafe_hr_thur":"0800-2000","cafe_hr_fri":"0800-2000","cafe_hr_sat":"0800-1800","petrol_station":"1","car_wash":"0","pharmacy":"1","dry_cleaning":"1","foto_processing":"1","cafe":"1","free_parking":"1","all_day_cash":"1","pc_parking":"1","disabled":"1","fish_counter":"1","butcher":"1","cakes":"1","baker":"1","provisions":"1","saladbar":"1","oven_fresh":"1","recycling":"0","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"1","lottery":"1"},{"ac tiveHolidayTimes":[],"name":"Sutton","storename1":"Sutton","addressline1":"","addressline2":"High Street","storename":"Sutton","street":"","town":"Sutton","city":"Surrey","county":"","pc":"SM1 1DD","region":"South East","country":"United Kingdom","telephone":"020 8661 7097","GeoQuality":"","lon":"-0.19341","lat":"51.36066","storetype":"1","storeopened":null,"store_hr_sun":"1000-1600","store_hr_mon":"0700-2300","store_hr_tue":"0700-2300","store_hr_wed":"0700-2300","store_hr_thur":"0700-2300","store_hr_fri":"0700-2300","store_hr_sat":"0700-2300","petrol_hr_sun":"","petrol_hr_mon":"","petrol_hr_tue":"","petrol_hr_wed":"","petrol_hr_thur":"","petrol_hr_fri":"","petrol_hr_sat":"","pharm_hr_sun":"","pharm_hr_mon":"","pharm_hr_tue":"","pharm_hr_wed":"","pharm_hr_thur":"","pharm_hr_fri":"","pharm_hr_sat":"","cafe_hr_sun":"0930-1600","cafe_hr_mon":"0700-2000","cafe_hr_tue":"0700-2000","cafe_hr_wed":"0700-2000","cafe_hr_thur":"0700-2100","cafe_hr_fri":"0700-2100","cafe_hr_sat":"0700-1 900","petrol_station":"0","car_wash":"0","pharmacy":"0","dry_cleaning":"1","foto_processing":"1","cafe":"1","free_parking":"1","all_day_cash":"0","pc_parking":"1","disabled":"1","fish_counter":"1","butcher":"1","cakes":"1","baker":"1","provisions":"1","saladbar":"1","oven_fresh":"1","recycling":"0","lpg":"0","e_85_bio_ethonol_fuel":"0","calor_gas":"1","lottery":"1"}],"Status":"SUCCESS","ErrorMessage":null,"ErrorCode":null}}


Reply to this email directly or view it on GitHub: https://github.com/restsharp/RestSharp/issues/191

johnsheehan commented 12 years ago

Sorry for late response to this. If you didn't get it resolved, can you post a formatted version of the JSON in a Gist and post the link to http://groups.google.com/group/restsharp with the question? GitHub is truncating it.