摘要: 在本系列的上一篇文章中,我们注意到强类型ID的实体,序列化为 JSON 的时候报错了,就像这样: { "id": { "value": 1 }, "name": "Apple", "unitPrice": 0.8 } 不过想了一下,这样的意外也是在意料之中的,强类型ID是record类型,而不是原始 阅读全文
posted @ 2021-01-18 18:07 SpringLeee 阅读(553) 评论(0) 推荐(3)