title: How to parse this JSON using Newton Soft for nested object
body: <p>How to parse this JSON </p>
  
  <p>using Newton Soft </p>
  
  <p>I tried but gives me null as my modal should have class 1, 2, 3 ... 
  but that's dynamic .So getting confuse.</p>
  
  <p>Appreciate your help !</p>
  
  <pre class="lang-js prettyprint-override"><code>{
  "data": {
      "1": {
          "test": {
              "col1": "123",
              "col2": "name"
          }
      },
      "2": {
          "test": {
              "col1": "345",
              "col2": "name2"
          }
      },
      "3": {
          "test": {
              "col1": "456",
              "col2": "name3"
          }
      }
  }
  </code></pre>
  
  <pre class="lang-csharp prettyprint-override"><code>class root 
  { 
      data data{get; set;};
  }
  
  class data
  { 
      List&lt;object&gt; innerObject {get; set;} //not sure as labels are dynamic 
  } 
  
  class test
  { 
      col1{get; set;} 
      col2{get; set;} 
  } //Calling it in that way .. 
  
  root r = JsonConvert.DeserializeObject&lt;root&gt;(result);
  </code></pre>