2020-07-13 15:09:08 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
# Explicitly set the JSON adapter used by MultiJson
|
2022-09-20 15:13:52 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2022-03-29 00:09:12 +00:00
|
|
|
MultiJson.use(:oj)
|