https://www.baeldung.com/jackson-ignore-null-fields
ObjectMapper mapper = new ObjectMapper();
// 字段值为null, 也要序列化
mapper.setSerializationInclusion(JsonInclude.Include.ALWAYS);
https://www.baeldung.com/jackson-ignore-null-fields
ObjectMapper mapper = new ObjectMapper();
// 字段值为null, 也要序列化
mapper.setSerializationInclusion(JsonInclude.Include.ALWAYS);