Packages
A serialization library implementing the jsonapi.org 1.0 spec suitable for use building JSON APIs in Phoenix and any other Plug based framework or app.
Current section
Files
Jump to
Current section
Files
lib/ja_serializer.ex
defmodule JaSerializer do
@moduledoc """
Provides a DSL for defining and how to serialize data to return in jsonapi.org 1.0 format.
See JaSerializer.Map for default serializer use.
"""
defmacro __using__(_) do
quote do
use JaSerializer.Serializer
end
end
end