报错如下:
2017-11-30 20:12:47.692 WARN 312072 --- [nio-8080-exec-1] .w.s.m.s.DefaultHandlerExceptionResolver : Failed to read HTTP message: org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: null; nested exception is com.fasterxml.jackson.databind.JsonMappingException: N/A
at [Source: java.io.PushbackInputStream@cc33966; line: 1, column: 140] (through reference chain: com.xxxxxxx.core.model.User["registerDate"])
我有几个猜测,在调用的参数中对象中包含的对象不能有null值,null值会导致json转换失败,但是现在的参数对象中避免不了null值,是否有什么配置可以让null跳过转换,如何设置