exhal v7.1.1 ExHal.Transcoder.ValueConverterWithOptions behaviour

Link to this section Summary

Callbacks

Returns Elixir representation of HAL value

Returns HAL representation of Elixir value

Link to this section Types

Link to this type t()
t() :: module

Link to this section Callbacks

Link to this callback from_hal(any, keyword)
from_hal(any, keyword) :: any

Returns Elixir representation of HAL value.

hal_value - The HAL representation of the value to convert. opts - Options to be used by the converter.

Link to this callback to_hal(any, keyword)
to_hal(any, keyword) :: any

Returns HAL representation of Elixir value.

elixir_value - The Elixir representation of the value to convert. opts - Options to be used by the converter.