阅读背景:

如何使用Handlebars.js访问JSON对象?

来源:互联网 

I'm creating a basic web app using the Echo Nest API to get used to templating and fetching data from APIs. I was just wondering how I would access the 'artist_name' & 'title' objects inside 'song' from the JSON object and use Handlebars.js to insert this data inside my template? When I do the {{#each songs}} as I've written below, it doesn't work.I'm creating a basic web app using the Echo Nes




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: