aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2018-03-27 16:09:08 +0200
committerlain <lain@soykaf.club>2018-03-27 16:09:08 +0200
commitfbc187ac15524638db2b116ed2b7365aaecdf2e4 (patch)
tree55bae8a332a91fef360a00c3991f62ae86aa2161 /lib
parentc6cd1a56f03193062edd257fe90048f4df39f20c (diff)
downloadpleroma-fbc187ac15524638db2b116ed2b7365aaecdf2e4.tar.gz
Switch to Jason for json handling.
It's twice as fast and will be the standard in the coming ecto.
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/endpoint.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/endpoint.ex b/lib/pleroma/web/endpoint.ex
index 93b37dc74..a2fb71451 100644
--- a/lib/pleroma/web/endpoint.ex
+++ b/lib/pleroma/web/endpoint.ex
@@ -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