DS.Adapter#defaultSerializer

defaultSerializer{String}

Defined in addon/adapter.js:66

If you would like your adapter to use a custom serializer you can set the defaultSerializer property to be the name of the custom serializer.

Note the defaultSerializer serializer has a lower priority than a model specific serializer (i.e. PostSerializer) or the application serializer.

app/adapters/django.js
import DS from 'ember-data';

export default DS.Adapter.extend({
  defaultSerializer: 'django'
});
doc_EmberJs
2016-11-30 16:49:22
Comments
Leave a Comment

Please login to continue.