discourse/config/initializers/100-oj.rb

9 lines
171 B
Ruby
Raw Normal View History

# frozen_string_literal: true
Oj::Rails.set_encoder()
Oj::Rails.set_decoder()
Oj::Rails.optimize()
2013-02-05 14:16:51 -05:00
# Not sure why it's not using this by default!
MultiJson.engine = :oj