Skip to content

Commit

Permalink
Merge pull request #3929 from fluent/remove-meaningless-oj-options
Browse files Browse the repository at this point in the history
Remove meaningless oj options
  • Loading branch information
ashie committed Oct 27, 2022
2 parents 5c41401 + 3c417bb commit a3b1cda
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/fluent/oj_options.rb
Expand Up @@ -4,14 +4,13 @@ module Fluent
class OjOptions
OPTIONS = {
'bigdecimal_load': :symbol,
'max_nesting': :integer,
'mode': :symbol,
'use_to_json': :bool
}

ALLOWED_VALUES = {
'bigdecimal_load': %i[bigdecimal float auto],
'mode': %i[strict null compat json rails object custom]
'mode': %i[strict null compat json rails custom]
}

DEFAULTS = {
Expand Down

0 comments on commit a3b1cda

Please sign in to comment.