fix: JSON gem deprecation warnings

This commit is contained in:
Karol Sójko
2021-06-04 10:15:00 +02:00
parent 774c8a0654
commit b381364987

View 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