JSONAPI (jsonapi v1.8.4)

View Source

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

json_library()

@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

mime_type()

@spec mime_type() :: binary()

This returns the MIME type for JSONAPIs