net.sf.json.exception:Unquotted String错误,解决办法。
来源:互联网 发布:update更新多条数据 编辑:程序博客网 时间:2024/06/05 00:56
错误展现:
$parameter='{ "iq":{"namespace":"FormSendDoRequest", "query":{ "dealType":"0", "id":$id, "isReturnCurrentNode":"0", "isTrace":"0", "isWait":"0", "nodes":[ {"GUID":$node_guid "figureID":"", "figureName":"", "figureType":"", "id":$node_id, "name":"客服部", "type":"0", "value":"X1260"}], "requestType":"5" }}}';我有一串数据,如上。里面的变量$id,$node_guid,$node_id。$node_guid的值为03683D7A-714F-894F-A0E8-70469F67D9C6现在提交的时候出现net.sf.json.exception:unquotted string '03683D7A-714F-894F-A0E8-70469F67D9C6'。
解决办法:json 对象值使用""双引号存储。
1 0
- net.sf.json.exception:Unquotted String错误,解决办法。
- Feign 调用出现的net.sf.json.exception:Unquotted String错误,解决办法。
- Exception in thread "main" net.sf.json.JSONException: Unquotted string
- net.sf.json.JSONException: Unquotted string "E44C2B0168A550F6503F59CCD56FC49B"
- 我的异常处理三之net.sf.json.JSONException: Unquotted string
- Unquotted string 错误
- JSON转换出现错误:net.sf.json.JSONException: Unterminated string at character 38 of
- JSON转换出现错误:net.sf.json.JSONException: Unterminated string at character 38 of
- Json用法三个常见错误2 Javabean Exception in thread "main" net.sf.json.JSONException: java.lang.NoSuchMethod
- JSON格式的String 怎么转成 net.sf.json.JSONObject
- String转换成json格式(一):net.sf.json.JSONObject
- JSON格式的String 转成 net.sf.json.JSONObject
- JSON net.sf.json
- JSON net.sf.json
- JSON net.sf.json
- JSON net.sf.json
- JSON net.sf.json
- JSON net.sf.json
- 中美两国第一夫人的晚宴在京城最具神秘感的养源斋进行
- SAP会计科目中英文对照表
- 在用户态下使用gpio中断
- Oracle 11g 的新特性 —— 只读表
- JAVA中的面向对象初学(持续总结更新...)
- net.sf.json.exception:Unquotted String错误,解决办法。
- freemarket 遍历Map
- 报错java.lang.Long cannot be cast to java.lang.Integer
- 关于typedef用法的总结
- 希尔排序
- 利用Delphi里面的IdIcmpClient控制来检测网络是否正常连通
- Oracle 11g 的新特性 —— 虚拟列
- 春天即将来了适合踏青旅游的日子
- ZOJ1716Get Many Persimmon Trees