[Solved] JSON parse error: Unexpected character (‘‘‘ (code 39)): was expecting double-quote to star

Warning: [http-nio-8080-exec-6] org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver.handleHttpMessageNotReadable Failed to read HTTP message: org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Unexpected character (''' (code 39)): was expecting double-quote to start field name; nested exception is com.fasterxml.jackson.core.JsonParseException: Unexpected character (''' (code 39)): was expecting double-quote to start field name
 at [Source: (PushbackInputStream); line: 1, column: 3]

Error reason: the format of JSON parameter is wrong
error screenshot

single quotation mark ‘and double quotation mark’ error, which is modified to

perfect solution


Read More: