//json是对象,直接使用“.”连接符读取$.each(data.products, function(i){ //在控制台查看 console.log([data.products[i].name, data.products[i].num, data.products[i].price]);});