nullkeyserializer专题

解决Null key for a Map not allowed in JSON (use a converting NullKeySerializer?)

我们在写程序的时候提示警告或者报错: Null key for a Map not allowed in JSON (use a converting NullKeySerializer?) 或者 org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: Null k