Springboot 2.5 @PostMapping("/cart/product")
public Response addProduct(@RequestBody Map<Stringw.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON
我正在尝试扩展Jackson默认反序列化,以便当域对象的字段在json中显式设置为null时,为它们分配一个占位符对象。我使用的是SpringBoot + Spring Data。我寻找了很多最好的方法,我相信一个自定义的反序列化程序就是我想要的。我也愿意接受关于这方面的建议,但我的实际问题是如何使用默认的反序列化并自己处理显式的null赋值。这就是我遇到的问题(在MyItemDeserializ