Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class method
JSON::Ext::ParserConfig.new
new(opts => {})
ext/json/parser/parser.c
View on GitHub ↗
static VALUE cParserConfig_initialize(VALUE self, VALUE opts)
{
rb_check_frozen(self);
GET_PARSER_CONFIG;
parser_config_init(config, opts, self, false);
return self;
}
Creates a new JSON::Ext::ParserConfig instance.
Argument opts, if given, contains a Hash of options for the parsing. See Parsing Options.