web/packages/web-server/config/initializers/json.rb
2022-06-07 07:18:41 -05:00

10 lines
216 B
Ruby

# fix for JSON deprecation warnings. See: https://github.com/flori/json/issues/399#issuecomment-734863279
module JSON
module_function
def parse(source, opts = {})
Parser.new(source, **opts).parse
end
end