title: Parsing JSON with 2D arrays in Unity C#
body: <p>I am working with Unity and Python and sending data over UDP to my Unity client. I am sending a JSON which reaches my Unity application successfully. I can't figure out how to properly parse this JSON. I have tried :</p>
  
  <pre><code>JsonUtility.FromJson&lt;T&gt;(...)
  </code></pre>
  
  <p>but the result wasn't correct. I implemented a [System.Serializable] class which contained data types</p>
  
  <pre><code>List&lt;List&lt;int&gt;&gt; landmarks;
  List&lt;double&gt; eulerAngles;
  List&lt;List&lt;double&gt;&gt; boxPoints;
  </code></pre>
  
  <p>And initialized these in my constructor using</p>
  
  <pre><code>landmarks = new List&lt;List&lt;int&gt;&gt;(); 
  ...
  </code></pre>
  
  <p>Every time I try to print the result, all my variables are empty.</p>
  
  <p>My JSON looks like this - </p>
  
  <pre><code>{
      "eulerAngles": [6.2255, -15.8976, -0.5881], 
      "boxPoints": [
          [194.05965, 194.15782], 
          [182.35829, 189.05042], 
          [6 more...]
      ], 
      "landmarks": [
          [196, 225], 
          [197, 242], 
          [199, 258], 
          [65 more..]
       ]
  }
  </code></pre>
  
  <p>Any help appreciated.</p>