我的网页视图加载了以下数据,任何人都可以告诉我如何获得" updated_at"在下面的webview数据中。
{
"status": "marked paid",
"orderstatus": {
"status": "ordered and paid",
"created_at": "2014-07-21T04:17:16.820909",
"updated_at": "2014-07-21T04:19:25.303492",
"order": {
"information": [
{
"removed_products": {
"both": [],
"right": [],
"left": []
}
}
]
}
}
}
答案 0 :(得分:0)
var obj = {
"status": "marked paid",
"orderstatus": {
"status": "ordered and paid",
"created_at": "2014-07-21T04:17:16.820909",
"updated_at": "2014-07-21T04:19:25.303492",
"order": {
"information": [
{
"removed_products": {
"both": [],
"right": [],
"left": []
}
}
]
}
}
};
var updated_at = obj.orderstatus.updated_at;