defaultSerializer{String}
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' });
Please login to continue.