DS.JSONSerializer#extractRelationships()

extractRelationships (modelClass, resourceHash) Object

Defined in addon/serializers/json.js:660

Returns the resource's relationships formatted as a JSON-API "relationships object".

http://jsonapi.org/format/#document-resource-object-relationships

Parameters:

modelClass Object
resourceHash Object

Returns:

Object
doc_EmberJs
2016-11-30 16:49:49
Comments
Leave a Comment

Please login to continue.