DATA_RECEIVED:
data: [{
"doc_id": 19,
"title" : "8-2-2.pdf",
"doc_loc":"D:upload1/content/8-2-2.pdf",
"size":"3.59MB",
"created_by":1,
"created_time":"Last Sync: 15/3/2014 @ 9:31:57"
}]
这是我的json array.i必须从这个数组中提取每个项目。我试过data.title, 但它似乎未定义。
答案 0 :(得分:0)
尝试,
console.log(data[0].title)
console.log(data[0].doc_loc)