mybatis-plus实现读取JSON类型的方法

imPage
  • 149

数据库字段是json
用mybatis-plus读出来的json字段config貌似被当做字符串输出了

{"msg":"success","code":0,"data":{"page":1,"limit":10,"count":1,"list":[{"createtime":"2021-01-01T06:00:00.000+00:00","cookie":"[]",,"id":1,"config":"[{\"key\": \"我是key\", \"value\": \"我是value\"}]","title":"测试","updatetime":"2021-01-01T06:00:00.000+00:00","createuid":1,"status":1}]}}
回复
阅读 916
宣传栏