摘要: 方式一 利用 com.fasterxml.jackson.databind.ObjectMapper 包下的 convertValue方法将Object对象转为对应实体对象。 User user = new ObjectMapper().convertValue(object, User.class 阅读全文
posted @ 2023-03-04 10:47 智昕 阅读(2421) 评论(0) 推荐(41) 编辑