© The Author(s), under exclusive license to APress Media, LLC , part of Springer Nature 2021
D. TangPro Ember Datahttps://doi.org/10.1007/978-1-4842-6561-1_3

3. API Response Formats and Serializers

David Tang1  
(1)
Playa Vista, CA, USA
 

A serializer in Ember Data is used to format data as it is transferred between the client and the server. When a serializer formats response data, this process is called normalization . In contrast, when a serializer formats data sent to the server, this process is called serialization .

Ember Data comes with three built-in serializers:
  1. 1.

    JSONSerializer

     
  2. 2.

    RESTSerializer

     
  3. 3.

    JSONAPISerializer

     

Each one of these serializers targets a specific API payload structure. In order to get a custom API working with Ember Data, it ...

Get Pro Ember Data: Getting Ember Data to Work with Your API now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.