Switch to Jason for json handling.

It's twice as fast and will be the standard in the coming ecto.
This commit is contained in:
lain 2018-03-27 16:09:08 +02:00
commit fbc187ac15
4 changed files with 11 additions and 1 deletions

View file

@ -29,7 +29,7 @@ defmodule Pleroma.Web.Endpoint do
plug Plug.Parsers,
parsers: [:urlencoded, :multipart, :json],
pass: ["*/*"],
json_decoder: Poison
json_decoder: Jason
plug Plug.MethodOverride
plug Plug.Head