callbackname({ "response": 0, "message": "", "data": { "data": [{ "id": "39132", "uid": "39132", "first_date": "2016-03-01", "dateline": "2016-12-30", "no": 1 }, { "id": "28451", "uid": "28451", "first_date": "2016-03-01", "dateline": "2016-12-30", "no": 2 }], "field": { "credit": "\u4e2d\u6587\u4e00", "equity": "\u4e2d\u6587\u4e8c", "hx_yield": "\u4e2d\u6587\u4e09" } } });
我想获取json中 dateline 的值,该怎么写
callbackname.data.data获取集合,遍历集合取dateline的值
可以使用jsonselect
可以使用dataType:'jsonp'