title: Map JSON to pojo using Jackson for List that have different parameters
body: <p>JSON FORMAT:</p>
  
  <pre><code>[
  {
      "0":
      {
          "cast":"",
          "showname":"woh pagle",
          "type":"Episodes"
      },
      "video":[
          {
              "src":"video.mp4"
          },
          {
              "DRM":"False"
          }
      ]
  }
  ]
  </code></pre>
  
  <p>Here problem is I am getting below exception:</p>
  
  <blockquote>
    <p>org.codehaus.jackson.map.JsonMappingException: Can not deserialize
    instance of java.util.ArrayList out of START_OBJECT token  at [Source:
    java.io.StringReader@1c9ca1; line: 1, column: 55617] (through
    reference chain:
    com.apalya.myplex.valueobject.ThirdPartyContentDetailsArray["video"])</p>
  </blockquote>
  
  <p>My pojo classes are : </p>
  
  <pre><code>@JsonIgnoreProperties(ignoreUnknown = true)
  @JsonProperty("0")
  private ThirdPartySubContentDetails subContent;
  
  @JsonProperty("video")
  private List&lt;ThirdPartySubContentVideoInfo&gt; video;
  </code></pre>
  
  <p>My Sub class pojo is :</p>
  
  <pre><code>private String src;
  
  @JsonIgnore
  @JsonProperty("DRM")
  private String drm;
  </code></pre>
  
  <p>Please help me to write a pojo for that video list.</p>