normalizeResponse (store, primaryModelClass, payload, id, requestType) Object
Defined in addon/serializer.js:40 Available since 1.13.0
The normalizeResponse method is used to normalize a payload from the server to a JSON-API Document. http://jsonapi.org/format/#document-structure
Parameters:
store DS.Store
primaryModelClass DS.Model
payload Object
id String|Number
requestType String
Returns:
Object
JSON-API Document