title: java jackson parse json array
body: <p>I need help with parsing, I've tried to create a different kind of model classes, but no use, please help me out here. the json looks like this:</p>
  
  <pre><code>[
    [
      1518909300000,
      "0.08815700",
      "0.08828700",
      "0.08780000",
      "0.08792900",
      "1727.93100000",
      1518910199999,
      "152.11480375",
      5118,
      "897.71600000",
      "79.04635703",
      "0"
    ],
    [
      1518910200000,
      "0.08788400",
      "0.08824200",
      "0.08766200",
      "0.08810000",
      "1789.81300000",
      1518911099999,
      "157.20177729",
      6201,
      "898.89500000",
      "78.95697080",
      "0"
    ]
  ]
  </code></pre>
  
  <p>and I'm trying to parse it using data class:</p>
  
  <pre><code>@JsonIgnoreProperties(ignoreUnknown = true)
  public class KlineResponse {
  
      public List&lt;Kline&gt; getKlineList() {
          return klineList;
      }
  
      public List&lt;Kline&gt; klineList;
  
      public class Kline {
          @JsonProperty("4")
          Double close;
  
          @JsonProperty("8")
          Integer tradesNumber;
  
          public Double getClose() {
              return close;
          }
  
          public void setClose(Double close) {
              this.close = close;
          }
  
          public Integer getTradesNumber() {
              return tradesNumber;
          }
  
          public void setTradesNumber(Integer tradesNumber) {
              this.tradesNumber = tradesNumber;
          }
      }
  }
  </code></pre>
  
  <p>and this line </p>
  
  <pre><code>mapper.readValue(response.getBody(), new TypeReference&lt;List&lt;KlineResponse&gt;&gt;(){})
  </code></pre>
  
  <p>or </p>
  
  <pre><code>mapper.readValue(response.getBody(), KlineResponse.class)
  </code></pre>
  
  <p>but each time the error:
  Can not deserialize instance of pt.settings.model.KlineResponse out of START_ARRAY token,
  please help</p>