It is not possible to deserialize a dynamic list containing the boolean property into a logical one. I have the following json.
[ { "Field1": 1, "Field2": "Test 1", "Field3": true }, { "Field1": 2, "Field2": "Test 2", "Field3": false } ]
When i use:
Newtonsoft.Json.JsonConvert.DeserializeObject<List<dynamic>>(jsonString)
I get Field3 = "True" or "False"
When bound to a grid or other control, it considers this to be a "string", not a "logical" one.
Any suggestions?
source share