Merge branch 'hotfix/3.7.5'
This commit is contained in:
9
config/initializers/json.rb
Normal file
9
config/initializers/json.rb
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# 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
|
||||||
Reference in New Issue
Block a user