I'm trying to deserialize a Dictionary in a WCF Web Service.
The keys are unknown, and can not be hard typed.
This can be done with absolutely no problems using Newtonsoft Json Converter.
Can this be done using the default deserializer? or do I have to try and change the endpoint to use Newtonsoft?
The parameters is the part that doesn't deserialize properly. It results in an empty dictionary.
Example JSON
{
"code":"test_code",
"customer_id":123456,
"parameters":{"param1":"test", "param2","test2"},
"page":{"offset":0,"limit":0}
}
Thanks