summaryrefslogtreecommitdiff
path: root/config/initializers/multi_json.rb
blob: f382e2cb995c32fd2edb63e07c494125ea4c773c (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

# Explicitly set the JSON adapter used by MultiJson
#
# This changes the default JSON adapter used by any gem dependencies
# we have that rely on MultiJson for their JSON handling. We set this
# to `oj` for a universal performance improvement in JSON handling
# across those gems.

MultiJson.use(:oj)