2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-06-27 22:16:00 -04:00
|
|
|
Oj::Rails.set_encoder()
|
|
|
|
Oj::Rails.set_decoder()
|
|
|
|
Oj::Rails.optimize()
|
2020-01-15 15:52:28 -05:00
|
|
|
Oj.default_options = Oj.default_options.merge(mode: :compat)
|
2019-06-27 22:16:00 -04:00
|
|
|
|
2013-02-05 14:16:51 -05:00
|
|
|
# Not sure why it's not using this by default!
|
2015-04-24 13:10:43 -04:00
|
|
|
MultiJson.engine = :oj
|