End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
JSON::GenericObject.load
load(source, proc = nil, opts = {})
ext/json/lib/json/generic_object.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/ext/json/lib/json/generic_object.rb, line 36
def load(source, proc = nil, opts = {})
result = ::JSON.load(source, proc, opts.merge(:object_class => self))
result.nil? ? new : result
end
No documentation available