反序列化(转换成对象)
ObjectMapper objectMapper = new ObjectMapper();
objectMapper.readValue(str, new TypeReference<List<T>>(){});
序列化(将对象转换成JSON数据)
ObjectMapper objectMapper = new ObjectMapper();
PrintWriter printWriter = null;
String result = objectMapper.writeValueAsString(object);