Packages

A Reddit API client using oauth2. Still in HEAVY development so use with caution.

Current section

Files

Jump to
breddit lib serializer.ex
Raw

lib/serializer.ex

defmodule Breddit.Serializer do
@behaviour OAuth2.Serializer
@impl true
def encode!(data), do: Jason.encode!(data)
@impl true
def decode!(data), do: Jason.decode!(data, keys: :atoms)
end