OAuth2 v1.0.0 OAuth2.Serializer behaviour View Source
A serializer is responsible for encoding/decoding request/response bodies.
Example
defmodule MyApp.JSON do
def encode!(data), do: Jason.encode!(data)
def decode!(binary), do: Jason.decode!(binary)
end