title: Feign Client not able to convert the response json to Java Object because of invalid character in the beginning
body: <p>I have created a Feign client EmployeeServiceClient.java like as shown below</p>
  
  <p><strong>EmployeeServiceClient.java</strong></p>
  
  <pre><code>@FeignClient(name = "employeeclient", url = "https://internel.omnesys.org")
  public interface EmployeeServiceClient {
      @RequestMapping(method = RequestMethod.GET, value = "/v1/employees")
      List&lt;EmployeeDetails&gt; getEmployeeDetails();
  }
  </code></pre>
  
  <p><strong>EmployeeDetails.java</strong></p>
  
  <pre><code>public class EmployeeDetails {
    private Employee employee;
    private String empId;
    // getters and setters
  }
  </code></pre>
  
  <p><strong>Employee.java</strong></p>
  
  <pre><code>public class Employee {
    private String name;
    private String firstName;
    private String lastName;
    private String city;
    // getters and setters
  }
  </code></pre>
  
  <p>The service 
  <a href="https://internel.omnesys.org/v1/employees" rel="nofollow noreferrer">https://internel.omnesys.org/v1/employees</a> (this is a intranet REST service managed by a different team) gives me a response life as shown below</p>
  
  <pre><code>)}]',
  [{"employee":{"name":"Emp1","firstName":"firstName1","lastName":"lastName1","city":"city1"},"empId":"empId123"},{"employee":{"name":"Emp2","firstName":"firstName2","lastName":"lastName2","city":"city2"},"empId":"empId456"}]
  </code></pre>
  
  <p>I am getting feign exception because the service response contains an additional <code>)}]',</code> in the starting</p>
  
  <p>I have asked the service team to remove those invalid characters but they said it is not possible to remove it since it was been placed purposely for some other requirement and have asked me to handle it from our end.</p>
  
  <p>Can anyone please help me on this</p>