Class JSONAPISerializer


⚠️ This is LEGACY documentation for a feature that is no longer encouraged to be used. If starting a new app or thinking of implementing a new adapter, consider writing a Handler instead to be used with the RequestManager

In EmberData a Serializer is used to serialize and deserialize records when they are transferred in and out of an external source. This process involves normalizing property names, transforming attribute values and serializing relationships.

JSONAPISerializer supports the spec and is the serializer recommended by Ember Data.

This serializer normalizes a JSON API payload that looks like:

```js {data-filename=app/models/player.js} import Model, { attr, belongsTo } from '@ember-data/model';

export default class Player extends Model {