JSON parse error: Unrecognized token

JSON parse error: Unrecognized token

  • 1.出错信息
  • 2.问题原因

1.出错信息

JSON parse error: Unrecognized token 'Rj': 
was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false'); 
nested exception is com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'Rj':
 was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')\n 
 at [Source: (PushbackInputStream

2.问题原因

请求如postman图示,后台应该用@RequestBody
JSON parse error: Unrecognized token_第1张图片
在这里插入图片描述

你可能感兴趣的:(常见问题,浩哥的JAVA之路)