Deserializing JSON 2 Dimension unamed array of values

Oct 29, 2010 at 4:02 AM

Hi,

I've got a 2 dimensional unnamed array in the format

[[57, 2], [57, 2], [58, 2], [55, 2], [60, 2], [54, 1], [59, 11]]

Can JSON.net help me with converting this to .Net ?

Note, that these values arent key, value pairs but contain an array of 2 values.

It would be ideal if I could get an array of the first of the values e.g. [57, 57, 58, 55, 60,54, 59] and another array of the second values: [2], [2], [2], [2], [2], [1], [11] but if I can only get a 2 dimensional array, I can work with that too ...

 

Steve