Given the following .json file:
[
{
\"name\" : \"New York\",
\"number\" : \"732921\",
\"center\" : [
\"latitude\"
JsonMappingException: out of START_ARRAY token exception is thrown by Jackson object mapper as it's expecting an Object {} whereas it found an Array [{}] in response.
This can be solved by replacing Object with Object[] in the argument for geForObject("url",Object[].class).
References: