Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><code>extractSingle</code>/<code>extractArray</code> are called within the <code>extract</code> method of <code>JSONSerializer</code>.</p> <pre><code>var specificExtract = "extract" + requestType.charAt(0).toUpperCase() + requestType.substr(1); return this[specificExtract](store, type, payload, id, requestType); </code></pre> <p>Some fancy "meta programming" makes them very hard to find since they don't show up in a grep.</p> <p><a href="https://github.com/emberjs/data/blob/ddaa5fa3b77c547315777a3e8609a9f30585db80/packages/ember-data/lib/serializers/json_serializer.js#L113-L114" rel="nofollow">https://github.com/emberjs/data/blob/ddaa5fa3b77c547315777a3e8609a9f30585db80/packages/ember-data/lib/serializers/json_serializer.js#L113-L114</a></p> <p>[UPDATE] : The main <code>extract</code> method is called from within the <code>store</code>.</p> <p><a href="https://github.com/emberjs/data/blob/ddaa5fa3b77c547315777a3e8609a9f30585db80/packages/ember-data/lib/system/store.js#L1399" rel="nofollow">https://github.com/emberjs/data/blob/ddaa5fa3b77c547315777a3e8609a9f30585db80/packages/ember-data/lib/system/store.js#L1399</a></p> <p><a href="https://github.com/emberjs/data/blob/ddaa5fa3b77c547315777a3e8609a9f30585db80/packages/ember-data/lib/system/store.js#L1414" rel="nofollow">https://github.com/emberjs/data/blob/ddaa5fa3b77c547315777a3e8609a9f30585db80/packages/ember-data/lib/system/store.js#L1414</a></p> <p><a href="https://github.com/emberjs/data/blob/ddaa5fa3b77c547315777a3e8609a9f30585db80/packages/ember-data/lib/system/store.js#L1427" rel="nofollow">https://github.com/emberjs/data/blob/ddaa5fa3b77c547315777a3e8609a9f30585db80/packages/ember-data/lib/system/store.js#L1427</a></p> <p><a href="https://github.com/emberjs/data/blob/ddaa5fa3b77c547315777a3e8609a9f30585db80/packages/ember-data/lib/system/store.js#L1441" rel="nofollow">https://github.com/emberjs/data/blob/ddaa5fa3b77c547315777a3e8609a9f30585db80/packages/ember-data/lib/system/store.js#L1441</a></p> <p><a href="https://github.com/emberjs/data/blob/ddaa5fa3b77c547315777a3e8609a9f30585db80/packages/ember-data/lib/system/store.js#L1456" rel="nofollow">https://github.com/emberjs/data/blob/ddaa5fa3b77c547315777a3e8609a9f30585db80/packages/ember-data/lib/system/store.js#L1456</a></p> <p><a href="https://github.com/emberjs/data/blob/ddaa5fa3b77c547315777a3e8609a9f30585db80/packages/ember-data/lib/system/store.js#L1473" rel="nofollow">https://github.com/emberjs/data/blob/ddaa5fa3b77c547315777a3e8609a9f30585db80/packages/ember-data/lib/system/store.js#L1473</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload