Skip to content
kumy edited this page Aug 20, 2017 · 2 revisions

Landing in Version three of the API is full support for a serialization layer in the api. Currently two serializers are supported, Active Model & JSON API.

JSON API

This is the preferred serializer and the newest addition to the api. You can enable this serialize by setting this value in your config.

outputFormat='JsonApi'

Active Model

The 2nd serializer is indirectly based on the Ruby Project of the same name. It isn't exactly followed, but was developed on a pair of Ember applications that used the similarly named Active Model Adapter. This serializer is not as well supported as the JSON API alternative.

You can enable this serialize by setting this value in your config.

outputFormat='ActiveModel'

Clone this wiki locally