Packages
Httpoison boosted with telemetry, mox and ex_rated.
Retired package: Deprecated - no longer maintained
Current section
Files
Jump to
Current section
Files
lib/client/decoders/json.ex
defmodule Client.Decoders.JSON do
@behaviour Client.Decoders
def headers, do: %{"Accept" => "application/json"}
def decode(payload), do: Poison.decode(payload)
def decode!(payload), do: Poison.decode!(payload)
end