View Source JSONAPI (jsonapi v1.6.2)

A module for working with the JSON API specification in Elixir

Link to this section Summary

Functions

Returns the configured JSON encoding library for JSONAPI. To customize the JSON library, including the following in your config/config.exs

This returns the MIME type for JSONAPIs

Link to this section Functions

@spec json_library() :: module()

Returns the configured JSON encoding library for JSONAPI. To customize the JSON library, including the following in your config/config.exs:

config :jsonapi, :json_library, Jason
@spec mime_type() :: binary()

This returns the MIME type for JSONAPIs