报错:JSON parse error: Cannot construct instance of XXX (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value XXX; nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException:
出错原因:
SoringBoot接收json格式数据,但是传入的数据不是标准json格式(多了引号,少了括号啥的)
json格式数据校验可以通过POSTMAN检测
解决:
json_data=json.dumps(data)
再将json_data作为POST参数传入即可