使用@JsonSerialize(nullsUsing= JsonSerializerUtils.class)注解后报错
org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: Can not write a field name, expecting a value; nested exception is com.fasterxml.jackson.core.JsonGenerationException: Can not write a field name, expecting a value
at org.springblade.core.tool.jackson.AbstractReadWriteJackson2HttpMessageConverter.writeInternal(AbstractReadWriteJackson2HttpMessageConverter.java:137) ~[blade-core-tool-2.1.0.jar:na]
扫一扫访问 Blade技术社区 移动端