Problem with array

Oct 27, 2011 at 6:41 AM

Hello. I'm accept the following Json data:

{"response":
[2,
{"body":"спасибо тебе...<br>да...пройдет....","title":"Re:  ...", "date":1268213453,"uid":28672529,"mid":10836,"read_state":0},
{"body":"не за что)", "title":"Re:  ...","date":1268213443,"uid":58416643,"mid":10835,"read_state":0}
]}

But, Json.NET generates exception: Error converting value 2 to type 'DataTypes.Message'.

What do? Thanks. :)
Oct 28, 2011 at 4:54 AM

It turned out that it is an array with different data types.

May 15, 2012 at 2:33 PM

Hello, Ruslan. Did you found the solution of this question? Now i have this problem too.