Fix perennial :atom issue
This commit is contained in:
@ -14,7 +14,7 @@ defmodule Outlook.Articles.InternalTree do
|
||||
def cast(_), do: :error
|
||||
|
||||
def load(tree) when is_binary(tree) do
|
||||
{:ok, Jason.decode!(tree, keys: :atoms!) |> from_json}
|
||||
{:ok, Jason.decode!(tree, keys: :atoms) |> from_json}
|
||||
end
|
||||
|
||||
def dump(tree) when is_list(tree) do
|
||||
|
||||
Reference in New Issue
Block a user