说我有一个类似的数组:
var someArray = [{"id":1,"mid":"477","mname":"StackOverflow","image":"images/merchants/so.jpg"}, {"id":2,"mid":"478","mname":"Meta","image":"images/merchants/mt.jpg"}]
如何说出图像字符串images/merchants/so.jpg
?
答案 0 :(得分:0)
someArray[0].image
or
someArray[0]['image']