Sha256: 33d0e8ffb8c30f8b93c86776a2543cf36a39cc24aebaa586a27291d4f84651e8
Contents?: true
Size: 498 Bytes
Versions: 16
Compression:
Stored size: 498 Bytes
Contents
# frozen_string_literal: true # Was getting lots of errors like this: # # ~/.rvm/gems/ruby-2.7.2@works_cited/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
16 entries across 16 versions & 1 rubygems