title: 2d Array from JSON with MINIJson
body: <p>I am a bit noob on JSON and really also c#
  Anyway I need to load some JSON and setup a gamegrid in unity3d based on a 2d array with the contents from JSON file.</p>
  
  <p>I use MINIJson from Darktable which I succesfully can fetch simple data with, but my brain freezes when i try to unwrap the json below :-(</p>
  
  <p>I hope someone would offer me a short script to do it with MINIJson.</p>
  
  <p>I hope to be able to make my game grid from this Json:</p>
  
  <p>{
  "layout" : [ [1, 0, 1, 1, 1, 1, 1, 1, 1 ],</p>
  
  <p>[1, 1, 1, 1, 1, 1, 1, 1, 1 ],</p>
  
  <p>[1, 1, 1, 1, 3, 1, 1, 1, 1 ],</p>
  
  <p>[1, 1, 0, 1, 1, 6, 1, 1, 1 ],</p>
  
  <p>[1, 1, 1, 1, 1, 1, 1, 1, 1 ],</p>
  
  <p>[1, 2, 1, 1, 1, 1, 1, 1, 1 ],</p>
  
  <p>[1, 1, 1, 1, 1, 1, 1, 1, 1 ],</p>
  
  <p>[1, 1, 1, 0, 1, 1, 1, 1, 1 ],</p>
  
  <p>[1, 1, 1, 1, 1, 1, 1, 1, 1 ] ],</p>
  
  <p>}</p>
  
  <p>I can get the data from my JSON file like this</p>
  
  <pre><code>TextAsset t = (TextAsset) Resources.Load("levels/Level_0", typeof(TextAsset));
      string jsonString = t.ToString();
      var dict = Json.Deserialize(jsonString) as Dictionary&lt;string,object&gt;;
      Debug.Log("dict['layout'][0]: " + ((List&lt;Object&gt;) dict["layout"])[0]);
  </code></pre>
  
  <p>But how would I go about to get this json from the dictionary to my </p>
  
  <pre><code>int layout[9,9]
  </code></pre>
  
  <p>I hope someone will be able to help.
  Thanks in advance :-)</p>