title: how to convert below Json To Java Pojo class?
body: <p>Kidly check below Json. I want to convert this to POJO class.</p>
  <p>I have tried with the below class</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>@Data
  public class Root {
      @JsonProperty("0")      // Dont want to pass like this. it should be single list and index is the key of that array
      public List&lt;Request&gt; list;
      @JsonProperty("1")
      public List&lt;Request&gt; list1;
      @JsonProperty("2")
      public List&lt;Request&gt; list2;
  
      @Data
      private class Request {
          int id;
          String title;
          int level;
          List&lt;Request&gt; children;
          @JsonProperty("parent_id")
          int parentId;
      }
  }</code></pre>
  </div>
  </div>
  </p>
  <pre><code>{
    &quot;0&quot;: [
      {
        &quot;id&quot;: 12123,
        &quot;title&quot;: &quot;sfsdf&quot;,
        &quot;level&quot;: 0,
        &quot;children&quot;: [
          
        ],
        &quot;parent_id&quot;: null
      }
    ],
    &quot;1&quot;: [
      {
        &quot;id&quot;: 213,
        &quot;title&quot;: &quot;d&quot;,
        &quot;level&quot;: 1,
        &quot;children&quot;: [
          
        ],
        &quot;parent_id&quot;: 1212312
      },
      {
        &quot;id&quot;: 3232,
        &quot;title&quot;: &quot;dfsdf&quot;,
        &quot;level&quot;: 1,
        &quot;children&quot;: [
          
        ],
        &quot;parent_id&quot;: 42
      },
      {
        &quot;id&quot;: 234,
        &quot;title&quot;: &quot;tder&quot;,
        &quot;level&quot;: 1,
        &quot;children&quot;: [
          
        ],
        &quot;parent_id&quot;: 122
      }
    ],
    &quot;2&quot;: [
      {
        &quot;id&quot;: 452,
        &quot;title&quot;: &quot;Blll&quot;,
        &quot;level&quot;: 2,
        &quot;children&quot;: [
          
        ],
        &quot;parent_id&quot;: 322
      },
      {
        &quot;id&quot;: 123,
        &quot;title&quot;: &quot;trrr&quot;,
        &quot;level&quot;: 11,
        &quot;children&quot;: [
          
        ],
        &quot;parent_id&quot;: 1221
      },
      {
        &quot;id&quot;: 33,
        &quot;title&quot;: &quot;sdfw&quot;,
        &quot;level&quot;: 2123,
        &quot;children&quot;: [
          
        ],
        &quot;parent_id&quot;: 10
      }
    ]
  }
  </code></pre>