摘要: 日常需求中有些需求需要在某字段存储json格式数据,例如日志审计接口传参数据等 1.首先我们得保证数据库字段为text或者json 2.设置读转换和写转换器 import com.fasterxml.jackson.databind.ObjectMapper; import org.springfr 阅读全文
posted @ 2024-05-20 15:22 轻寒 阅读(40) 评论(0) 推荐(0) 编辑