View Source JSONAPI (jsonapi v1.8.3)

A module for working with the JSON API specification in Elixir

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

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