title: Cannot deserialize instance of `java.util.ArrayList<java.lang.Object>` out of START_OBJECT token
body: <p>Cannot deserialize Json into List collection. I'm using Lombok, that hold field variables:</p>
  <pre class="lang-java prettyprint-override"><code>@Data
  @Builder
  @EqualsAndHashCode(exclude = &quot;success&quot;)
  @NoArgsConstructor
  @AllArgsConstructor
  @JsonIgnoreProperties(ignoreUnknown = true)
  public class AparsersResponceDto {
    private Integer success;
    private ArrayList&lt;String&gt; data;
  }
  </code></pre>
  <p>RestAssured controller that do post request to API:</p>
  <pre><code>public ValidatableResponse getFirstAparserStatus(AparsersDto toGetAparser) {
      return RestAssured
              .given().spec(getDefaultRequestSpecification())
              .body(toGetAparser)
              .when()
              .post(apars141 + port1)
              .then()
              .log().all();
  }
  </code></pre>
  <p>And do extract body of the post request:</p>
  <pre><code>private AparsersController aparsersController = new AparsersController();
  
  
  public AparsersResponceDto postFirstBody(AparsersDto aparsersDto) {
      return aparsersController
              .getFirstAparserStatus(aparsersDto) //Sent post request with the body aparsersDto through RestAssured
              .statusCode(200)
              .extract().body().as(AparsersResponceDto.class); // Here i can't make extract of the 'data' field due to collection List. 
  }
  </code></pre>
  <p>Response Json:</p>
  <pre><code>&quot;success&quot;: 1,
  &quot;data&quot;: {
      &quot;45.90.34.87:59219&quot;: [
          &quot;http&quot;
      ],
      &quot;144.76.108.82:41049&quot;: [
          &quot;http&quot;
      ],
      &quot;5.9.72.48:59473&quot;: [
          &quot;http&quot;
      ],
      &quot;130.0.232.208:49327&quot;: [
          &quot;http&quot;
      ],
      &quot;217.172.179.54:39492&quot;: [
          &quot;http&quot;
      ],
      ...
  </code></pre>
  <p>Complite error message:</p>
  <pre><code>com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `java.util.ArrayList&lt;java.lang.Object&gt;` out of START_OBJECT token at [Source: (StringReader); line: 1, column: 21] (through reference chain: com.rest.dto.AparsersResponceDto[&quot;data&quot;])
  </code></pre>
  <p>How can i fix it?</p>