diff --git a/apps/cf/config/dev.exs b/apps/cf/config/dev.exs index 04d8ac1f..e77a62c6 100644 --- a/apps/cf/config/dev.exs +++ b/apps/cf/config/dev.exs @@ -25,6 +25,7 @@ config :logger, :console, format: "[$level] $message\n" # Set a higher stacktrace during development. Avoid configuring such # in production as building large stacktraces may be expensive. config :phoenix, :stacktrace_depth, 20 +config :phoenix, :json_library, Jason # Mails config :cf, CF.Mailer, adapter: Bamboo.LocalAdapter diff --git a/apps/cf_graphql/config/dev.exs b/apps/cf_graphql/config/dev.exs index ef77ce7d..a5d597d6 100644 --- a/apps/cf_graphql/config/dev.exs +++ b/apps/cf_graphql/config/dev.exs @@ -19,3 +19,4 @@ config :logger, :console, format: "[$level] $message\n" # Set a higher stacktrace during development. Avoid configuring such # in production as building large stacktraces may be expensive. config :phoenix, :stacktrace_depth, 20 +config :phoenix, :json_library, Jason diff --git a/apps/cf_graphql/mix.exs b/apps/cf_graphql/mix.exs index 2bbfc056..b14311ee 100644 --- a/apps/cf_graphql/mix.exs +++ b/apps/cf_graphql/mix.exs @@ -33,8 +33,9 @@ defmodule CF.Graphql.Mixfile do defp deps do [ {:phoenix, "~> 1.5.14"}, - {:plug, "~> 1.7"}, {:phoenix_pubsub, "~> 2.0"}, + {:jason, "~> 1.4"}, + {:plug, "~> 1.7"}, {:cowboy, "~> 2.0"}, {:corsica, "~> 2.1"}, {:absinthe_ecto, "~> 0.1.3"}, diff --git a/apps/cf_rest_api/config/dev.exs b/apps/cf_rest_api/config/dev.exs index 91f4f420..c944961f 100644 --- a/apps/cf_rest_api/config/dev.exs +++ b/apps/cf_rest_api/config/dev.exs @@ -24,3 +24,4 @@ config :cf_rest_api, CF.RestApi.Endpoint, # Set a higher stacktrace during development. Avoid configuring such # in production as building large stacktraces may be expensive. config :phoenix, :stacktrace_depth, 20 +config :phoenix, :json_library, Jason diff --git a/apps/cf_rest_api/mix.exs b/apps/cf_rest_api/mix.exs index 696876ed..aa4a58fa 100644 --- a/apps/cf_rest_api/mix.exs +++ b/apps/cf_rest_api/mix.exs @@ -42,6 +42,7 @@ defmodule CF.RestApi.Mixfile do {:phoenix, "~> 1.5.14", override: true}, {:phoenix_html, "~> 2.14.3"}, {:phoenix_pubsub, "~> 2.0"}, + {:jason, "~> 1.4"}, {:poison, "~> 3.1"}, {:scout_apm, "~> 1.0.6"}, {:plug_cowboy, "~> 2.1"}, diff --git a/apps/cf_reverse_proxy/mix.exs b/apps/cf_reverse_proxy/mix.exs index b03ff95e..681f6301 100644 --- a/apps/cf_reverse_proxy/mix.exs +++ b/apps/cf_reverse_proxy/mix.exs @@ -38,6 +38,7 @@ defmodule CF.ReverseProxy.Mixfile do {:cf_graphql, in_umbrella: true}, {:cf_atom_feed, in_umbrella: true}, {:phoenix, "~> 1.5.14"}, + {:jason, "~> 1.4"}, {:cowboy, "~> 2.0"}, {:corsica, "~> 2.1"} ]