接收JSON异常:JSON parse error: Unexpected character (‘/‘ (code 47)): maybe a (non-standard) comment?
json
适用于现代 C++ 的 JSON。
项目地址:https://gitcode.com/gh_mirrors/js/json
免费下载资源
·
"JSON parse error: Unexpected character ('/' (code 47)): maybe a (non-standard) comment?
(not recognized as one since Feature 'ALLOW_COMMENTS' not enabled for parser); nested
exception is com.fasterxml.jackson.core.JsonParseException: Unexpected character ('/'
(code 47)): maybe a (non-standard) comment? (not recognized as one since Feature
'ALLOW_COMMENTS' not enabled for parser)\n at [Source: (PushbackInputStream); line: 1,
column: 28]"
这种异常是在postman中注释遇到的
在postman下发送post请求:
这种发送会报出上述异常,把注释去掉再次发送:
请求成功。
GitHub 加速计划 / js / json
41.72 K
6.61 K
下载
适用于现代 C++ 的 JSON。
最近提交(Master分支:1 个月前 )
960b763e
4 个月前
8c391e04
6 个月前
更多推荐
已为社区贡献1条内容
所有评论(0)