var data = JSON.parse(content);. 3. console.log(data.collection.length);. 4. }); 5. . Source: stackoverflow.com. read json file javascript.
確定! 回上一頁