title: Deserializing JSON 2-dimensional array of values
body: <p>I've got a 2-dimensional array of values in JSON format:</p>
  
  <pre><code>[[57, 2], [57, 2], [58, 2], [55, 2], [60, 2], [54, 1], [59, 11]]
  </code></pre>
  
  <p>Each of the pairs actually contains a pair of unrelated readings, and there is one pair for each minute. So in the first min, reading 1 is <code>57</code> and reading 2 is <code>2</code>.  In the second minute, the readings are the same, etc.</p>
  
  <p>Now, I want to convert this into a format I can use in .Net to plot each of these readings. This could either be two parallel arrays, one for the readings of the first value with one element for each minute, and one array for all the readings of the second value.  Or it could be a 2-dimensional array if this is easier. </p>
  
  <p>I tried using <code>DataContractJSONSerializer</code> without any luck:</p>
  
  <pre><code>IEnumerable&lt;SubmissionDataRow&gt; obj = (IEnumerable&lt;SubmissionDataRow&gt;)ser.ReadObject(reader, false);
  </code></pre>
  
  <p>where <code>SubmissionDataRow</code> is just a class with a property for each of the readings but the Deserializer wouldn't know what value to put in which property!</p>