title: How to simulate fetch() with local JSON on a Collection or Model?
body: <p>I'm new to Backbone, and trying to set up my Models, and Collections nested within, using a local JSON file for testing. I currently have something like this:</p>
  
  <pre><code>var MyModel = Backbone.Model.extend({
      coll: null,
      initialize: function (attributes, options) {
          this.setData(attributes);
      },
      setData: function (data) {
          this.set("key1", data.key1);
          this.set("key2", data.key2);
  
          var coll = this.coll ? this.coll.reset(data.collData) : new MyCollection(data.collData);
          this.set("coll", coll);
      }
  });
  // ...
  var myModel = new Model(jsonLoadedFromLocalFile);
  </code></pre>
  
  <p>However, my understanding is that once my server is ready to return data, I'll just use <code>Model.fetch()</code> and <code>Collection.fetch()</code>, and that those will call <code>Model.parse()</code> and <code>Collection.parse()</code>, and that <code>parse()</code> is the proper place to parse data (as opposed to my seemingly-too-manual <code>setData()</code>).</p>
  
  <p>What's the preferred way to load in dummy data for testing Models with nested Collections?</p>