JSON parse error: Unexpected character ('}' (code 125)): was expecting double-quote to start field n

1. Test data, there is such an error in message in postman

JSON parse error: Unexpected character (’}’ (code 125)): was expecting double-quote to start field name; nested exception is com.fasterxml.jackson.core.JsonParseException: Unexpected character (’}’ (code 125)): was expecting double-quote to start field name\n at [Source: (PushbackInputStream); line: 4, column: 2]

2. Baidu translation (JSON analysis error: unexpected character ('}' (code 125)): field name that should start with double quotes; nested exception is com.fasterxml.jackson.core.json parse exception: unexpected character (' }'(Code 125)): The field name that should start with double quotes is located in [source: (pushbackinputstream); line: 4, column: 2])

  1. Checked and found an extra comma.
    Insert picture description here
  2. Remove the test success, details are very important.

Guess you like

Origin blog.csdn.net/weixin_43187491/article/details/100559035