{
"objects":"that",
"I":"dont care about",
"objectsiwant":[{object1, object2,...}]
}
使用readerFor或readerForListOf
ObjectMapper mapper = new ObjectMapper();
JsonNode rootNode = mapper.readTree(json);
JsonNode internalNode = rootNode.path("objectsiwant");
// ----------------
List<MyPojo> myPojoList = mapper.readerFor(new TypeReference<List<MyPojo>>(){}).readValue(internalNode);
// 或者
List<MyPojo> myPojoList = mapper.readerForListOf(MyPojo.class).readValue(internalNode);