jsonapi v1.3.0 JSONAPI View Source

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

Link to this function

json_library()

View Source
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
Link to this function

mime_type()

View Source
mime_type() :: binary()

This returns the MIME type for JSONAPIs