I'm trying to process a JSON structure with Json.NET but without any luck.
{
"Test": [
{
"text": "blah...",
"Id": 6,
"Date": "2013-04-13T00:00:00"
},
{
"text": "bluuhh...",
"Id": 7,
"Date": "2013-02-10T00:00:00"
}
],
"ErrorCode": 0,
"Status": 0,
"StatusString": "Okay",
"Message": "successfully returned 2 events."
}
Usually I write:
dynamic stuff = JsonConvert.DeserializeObject(json);
How is it possible to make a foreach
for text
?