I am trying to load a json file into a backbone model like so :
var Feed = Backbone.Model.extend();
var FeedCollection = Backbone.Collection.extend({
model: Feed,
url:'feed.json'
var feeds = new FeedCollection();
feeds.fetch({success : function() {
console.log(feeds);
}})
The first log returns the JSON obect within the file, just returns an object without the json data.