ibm worklight存储过程 [英] ibm worklight stored procedure
本文介绍了ibm worklight存储过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想解析 javascript
中的 json
对象,并且必须以字符串格式获取密钥传递的值。
I want to parse this json
object in javascript
and have to obtain the values of key pass in string format.
{
"isSuccessful": true,
"resultSet": [
{
"name": "a",
"pass": "123",
"time_stamp": "2014-04-07T10:13:17.000Z"
},
{
"name": "chetan",
"pass": "123456",
"time_stamp": "2014-04-07T10:13:34.000Z"
},
{
"name": "dileep",
"pass": "456321",
"time_stamp": "2014-04-07T10:13:54.000Z"
},
{
"name": "bnc",
"pass": "654321",
"time_stamp": "2014-04-07T10:19:37.000Z"
}
]
}
推荐答案
如果您在一般意义上提问(没有指向Worklight的链接),我会查看其他答案:
If you are asking in a general sense (no links to Worklight) I would look at other answers:
< a href =https: //stackoverflow.com/questions/1078118/how-do-i-iterate-over-a-json-structure\">如何迭代JSON结构?
在Worklight中,如果您的示例是Worklight适配器的响应,则响应将位于名为的属性中invocationResult
。
In Worklight, if your example is the response of a Worklight adapter, the response will be in a property called invocationResult
.
这篇关于ibm worklight存储过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文