I have this JSON:
{
"Date": "3/6/17",
"Place": "MyPlace",
"Questions": [{
"Category": "",
"Question": "???",
"Answer": ""
}, {
"Category": "",
"Question": "??? ",
"Answer": ""
}, {
"Category": "",
"Question": "???",
"Answer": ""
}]
}
I want to parse this JSON and get the array inside it as a list.
Using var list = JsonConvert.DeserializeObject<List<JToken>>(jsonString);
doesn't work because the thing as a whole isn't an array, only inside it there is an array.
So how do I do this in C#?