Hi I am getting a response from server which is something like this
{"total":110,"responses":{"13":26,"14":24,"15":40,"16":20}}
I am not able to deserialize it using DataContractJSONSerializer. I have tried various combination for it but no results. I am using following class for de-serializing:
public class PollResponseRoot
{
public int total { get; set; }
public Dictionary<int, int> Responses;
}
but I always get the Response value null. Please let me know where I am going wrong.