-1
是否有可能使用jQuery做一些事情來解析以下JSON陣列:處置與答案的價值解析JSON陣列來完成幾個任務
{
"status": "success",
"matches": 2,
"results": [{
"call_mine_status": "not mined",
"cdr_source": "CE",
"tracking_number": "5555555555",
"disposition": "ANSWERED",
"duration": 284,
"external_id": null,
"id": 25039100,
"is_outbound": 0,
"ouid": 49677,
"repeat_call": false,
"caller_id": "7777777777",
"calldate": "2015-12-01 13:50:03",
"ringto_number": "9999999999",
"title": null,
"user_id": null,
"scored": false,
"call_value": null,
"indicator": {
"active_indicators": [
],
"custom_indicators": [
]
},
"tagged": false,
"mine_error": "",
"call_recorded": "92cda5a0-3929-4773-9d4b-1a8deb14570c",
"file_url": "http://s3.amazonaws.com/info1.mp3",
"postcall_response": [{
"postcall_ivr_type": null,
"postcall_ivr_response": null
}],
"postcall_option": [{
"option_order": 1,
"details": [{
"postcall_ivr_enabled": "false",
"postcall_ivr_tts": null,
"postcall_ivr_type": null,
"postcall_ivr_digits": null
}]
}]
}, {
"call_mine_status": "not mined",
"cdr_source": "CE",
"tracking_number": "6666666666",
"disposition": "ANSWERED",
"duration": 213,
"external_id": null,
"id": 25041531,
"is_outbound": 0,
"ouid": 49677,
"repeat_call": false,
"caller_id": "8888888888",
"calldate": "2015-12-01 14:20:21",
"ringto_number": "9999999999",
"title": null,
"user_id": null,
"scored": false,
"call_value": null,
"indicator": {
"active_indicators": [
],
"custom_indicators": [
]
},
"tagged": false,
"mine_error": "",
"call_recorded": "fe38b368-315a-4de6-86b2-8674c705e128",
"file_url": "http://s3.amazonaws.com/info2.mp3",
"postcall_response": [{
"postcall_ivr_type": null,
"postcall_ivr_response": null
}],
"postcall_option": [{
"option_order": 1,
"details": [{
"postcall_ivr_enabled": "false",
"postcall_ivr_tts": null,
"postcall_ivr_type": null,
"postcall_ivr_digits": null
}]
}]
}],
"transaction_id": 355071629
}
- 總數
- 總持續時間值
- 的總和在每個對象配置值==回答和持續時間> 90做的console.log 1
不限如果幫助將不勝感激
有你甚至試過嗎?有關解析,請參閱http://api.jquery.com/jquery.parsejson/以及作業的3項任務 - 您必須進行DIY。編輯你的問題,並告訴我們你的不工作的代碼。 –