W3cubDocs

/Ember.js 4

Class Serializer

public
Extends: Ember.EmberObject
Defined in: ../packages/serializer/addon/index.ts:107
Module: @ember-data/serializer

Serializer is an abstract base class that you should override in your application to customize it for your backend. The minimum set of methods that you should implement is:

  • normalizeResponse()
  • serialize()

And you can optionally override the following methods:

  • normalize()

For an example implementation, see JSONSerializer, the included JSON serializer.

Methods

Properties

Events

No documented items

© 2022 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://api.emberjs.com/ember-data/4.9/classes/Serializer