instante-social/config/initializers/oj.rb

2 lines
78 B
Ruby

Oj.default_options = { mode: :compat, time_format: :ruby, use_to_json: true }