DS.Serializer#normalizeResponse()

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
doc_EmberJs
2016-11-30 16:50:39
Comments
Leave a Comment

Please login to continue.