discourse/config/initializers/100-oj.rb
2019-06-28 12:16:00 +10:00

9 lines
171 B
Ruby

# frozen_string_literal: true
Oj::Rails.set_encoder()
Oj::Rails.set_decoder()
Oj::Rails.optimize()
# Not sure why it's not using this by default!
MultiJson.engine = :oj