json传参特殊字符后台接受不了问题

Blade 未结 2 1336
邱峰
邱峰 剑童 2020-09-03 17:16

一、该问题的重现步骤是什么?

image.png

1. post请求  json传参含有特殊字符

2. image.png

3.后台报错


二、你期待的结果是什么?实际看到的又是什么?

期待正常接收参数

三、你正在使用的是什么产品,什么版本?在什么操作系统上?

目前使用的是 

org.springblade 2.0.7.RELEASE  windows7操作系统

四、请提供详细的错误堆栈信息,这很重要。

Resolved [org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Unexpected character ('"' (code 34)): Expected space separating root-level values; nested exception is com.fasterxml.jackson.core.JsonParseException: Unexpected character ('"' (code 34)): Expected space separating root-level values

 at [Source: (PushbackInputStream); line: 1, column: 4]]

五、若有更多详细信息,请在下面提供。

2条回答
提交回复