Sha256: 8f45000d8b6158b3d18e52bcb8b3d858f36462e02f11284a7b0e046a4307510f
Contents?: true
Size: 495 Bytes
Versions: 7
Compression:
Stored size: 495 Bytes
Contents
# frozen_string_literal: true # Was getting lots of errors like this: # # ~/.rvm/gems/ruby-2.7.2@cookbook/gems/json-1.8.6/lib/json/common.rb:155: # warning: Using the last argument as keyword parameters is deprecated # # Found here: https://github.com/flori/json/issues/399 # "Using Rails, this seems to get rid of the warnings:" # config/initializers/json.rb module JSON module_function # :nocov: def parse(source, opts = {}) Parser.new(source, **opts).parse end # :nocov: end
Version data entries
7 entries across 7 versions & 1 rubygems