{
“timestamp”: “2022-06-30 09:34:46”,
“status”: 400,
“error”: “Bad Request”,
“message”: “JSON parse error: Cannot deserialize instance of java.lang.Integer
out of START_OBJECT token; nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of java.lang.Integer
out of START_OBJECT token\n at [Source: (PushbackInputStream); line: 1, column: 1]”,
“path”: “/rightsCenter/rights-info/getRightsByConsultantId”
}
意思是传的是object 要转换成json,需要将对象转换成JSON