作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我的json代码:输入
{"responseCode":"200","responseText":"ID: 2ce934c860f48b02fb755178f8ac0a2"}
如何在 zoho creator 中进行 json 解码==> 这是对的吗?
responseCode=jsondata.getJSON("responseCode");
responseText=jsondata.getJSON("responseText");
SMS_ID=responseText.getJSON("ID");
最佳答案
这几乎是正确的。请注意,"ID: 2ce934c860f48b02fb755178f8ac0a2"
只是一个字符串,而不是 JSON 元素。
尝试:
responseText=jsondata.getJSON("responseText");
SMS_ID = responseText.remove("ID: ");
关于zoho - 如何在zoho中进行json解码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37020959/
我是一名优秀的程序员,十分优秀!