Exception jsonmappingexception: out of start_ ARRAY token

1 problem
When a new HTTP interface is called and the data is parsed, an exception is raised:
Under Caused by: com. Fasterxml. Jackson. Databind. JsonMappingException: Can not deserialize the instance of the com. Out of XXX START_ARRAY token
The second analysis
If you look at the JSON data for the data, it’s an array. The original one is encapsulated as response.
So, you can encapsulate. Modify parsing without encapsulation:

objectMapper.readValue(json,XXOjject[].class);

This is an array object that can be converted to a list and returned normally.

Read More: