mastodon/config/initializers/oj.rb

3 lines
109 B
Ruby

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