ja_serializer v0.18.1 API Reference

Modules

A library for generating JSON-API.org spec compliant JSON.

Builds JSON-API spec pagination links.

Builds JSON-API spec pagination links for %Scrivener.Page{}.

Utilities to work with building serialized data

This plug provides content type negotiation by validating the content-type and accept headers.

A DSL for defining JSON-API.org spec compliant payloads.

This plug "deserializes" params to underscores.

The EctoErrorSerializer is used to transform Ecto changeset errors to JSON API standard error objects.

A super basic wrapper for formatting jsonapi errors.

Functions to help when working with json api params.

Use in your Phoenix.View to render jsonapi.org spec json.

Struct to represent a HasMany relationship.

Struct representing a HasOne (or belongs to) relationship.

A Behaviour for defining JSON-API.org spec complaint payloads.