2019-05-03 06:17:27 +08:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-06-28 10:16:00 +08:00
|
|
|
Oj::Rails.set_encoder()
|
|
|
|
Oj::Rails.set_decoder()
|
|
|
|
Oj::Rails.optimize()
|
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
# Not sure why it's not using this by default!
|
2015-04-25 01:10:43 +08:00
|
|
|
MultiJson.engine = :oj
|