Jackson Parsing for json object inside json
问题 I have sample json data like below {"data":{"detection":[{"category":"building","coordinates":{"xmin":"0.31","ymin":"0.42","ymax":"0.82","xmax":"0.89"},"accuracy":"0.66"}]}} Trying to parse data field in jackson parser and created ObjectCategories class(setter getter) for its values. @JsonProperty("categories") private List<ObjectCategory> categories; @SuppressWarnings("unchecked") @JsonProperty(DATA) private void unpackNested(Map<String,Object> data) { this.categories = (ArrayList