尝试
obj.data[0].stars // Will get you the stars in the 1st Objectobj.data[0].stars[0] // Gary Elwes
小提琴
要遍历Stars对象,可以尝试以下操作
$.each(obj.data , function(key , value){ // First Level $.each(value.stars , function(k , v ){ // The contents inside stars console.log(v) });});更新场
编辑
$.ajax({ // Parameters success : function(obj){ $.each(obj.data , function(key , value){ // First Level $.each(value.stars , function(k , v ){ // The contents inside stars console.log(v) }); }); } });


