JSON deserialization throwing exception - Can not deserialize instance of java.util.ArrayList out of START_OBJECT token
问题 The below is my JSON response, Caused by: com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.util.ArrayList out of START_OBJECT token at [Source: java.io.PushbackInputStream@bce1d9; line: 1, column: 556] (through reference chain: com.totalHours["data"]->com.totalHours["hourly_totals"]) "totalHours": { "hourly_totals": { "2013112101": { "distance": 1324, "calories": 90.0120018125, "steps": 1603, "active_time": 793, "inactive_time": 220, "longest_active