Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class method
JSON::Ext::Parser.new
() -> ::JSON::Ext::Parser
new(source, opts = nil)
ext/json/lib/json/ext.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/ext/json/lib/json/ext.rb, line 17
def initialize(source, opts = nil)
@source = source
@config = Config.new(opts)
end
No documentation available