Resty v0.12.0 Resty.Serializer View Source

This module is used by Resty.Repo in order to serialize and deserialize data sent and received from the web API.

It will use the serializer implementation configured on the resource. By default it is Resty.Serializer.Json but if you want to use another format you’ll have to write your own implementation.

Once that’s done you’ll be able to use it on a per resource basis by calling the appropriate Resty.Resource.Base macro or globally by setting it in the config.