title: How to map json data coming from an REST-API to ember.js model?
body: <p>I'm new to EmberJS and try to connect my EmberJS-frontend to an API via the RESTAdapter. I'm using ember-1.0.0-rc.6 and ember-data-latest (Version: v0.13-59-ge999edb).
  From the API I get the following JSON code:</p>
  
  <pre><code>{
      "page": 1,
      "limit": 5,
      "total": 4,
      "results": [
          {
              "id": 1,
              "title": "something3",
              "description": "asd3"
          },
          {
              "id": 2,
              "title": "something3",
              "description": "asd3"
          },
          {
              "id": 3,
              "title": "something2",
              "description": "asd2"
          },
          {
              "id": 4,
              "title": "something",
              "description": "asd"
          }
      ]
  }
  </code></pre>
  
  <p>My RESTAdapter looks like the following:</p>
  
  <pre><code>App.Store = DS.Store.extend({
      revision: 13,
      adapter: DS.RESTAdapter.extend({
          url:"http://localhost/api/app_dev.php"
      })
  });
  </code></pre>
  
  <p>My model looks like this at the moment:</p>
  
  <pre><code>App.Modelname = DS.Model.extend({
      title: DS.attr('string')
  });
  </code></pre>
  
  <p>With this I get the following error in the browser console:</p>
  
  <p><em>Assertion failed: Your server returned a hash with the key page but you have no mapping for it</em> </p>
  
  <p>MY question is how to connect the json output from the api to my ember model without changing the api on the server?</p>
  
  <p>Thanks in advance for your support !</p>