RongtongJin commented on issue #181: V2.0.4 json parse error URL: https://github.com/apache/rocketmq-spring/issues/181#issuecomment-559429697 > such as : > The input parameters of my interface are > > private Integer expiredDays; > private List types; > > Only two parameters > I then use postman to call the interface to pass these two parameters. > { > "expiredDays":10, > "types":["type"] > } > The result is success > > I passed a parameter with a name other than these two parameters > such as > { > "name":"test" > } > An exception occurs: > > org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Unrecognized field "name" > > In the original version, passing parameters like this was no problem. MessageConvert was modified in version 2.0.4, but there seems to be no problem that throw json parse error when wrong parameter input.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
