标签:
ObjectMapper mapper = new ObjectMapper(); String json = "[{\"name\":\"a\",\"password\":\"345\"},{\"name\":\"b\",\"password\":\"123\"}]"; List<User> list = mapper.readValue(json, new TypeReference<List<User>>(){});
标签:
原文地址:http://www.cnblogs.com/yiban/p/jackson_deserialize_list.html