Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
JSON
/
Ext
/
Parser
/
//opt/alt/ruby27/share/ri/system/JSON/Ext/Parser/new-c.ri
U:RDoc::AnyMethod[iI"new:ETI"JSON::Ext::Parser::new;TT:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"FCreates a new JSON::Ext::Parser instance for the string _source_.;To:RDoc::Markup::BlankLine o; ; [I"FCreates a new JSON::Ext::Parser instance for the string _source_.;T@o; ; [I"MIt will be configured by the _opts_ hash. _opts_ can have the following ;TI" keys:;T@o; ; [I"(_opts_ can have the following keys:;To:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [I"L*max_nesting*: The maximum depth of nesting allowed in the parsed data ;TI"Mstructures. Disable depth checking with :max_nesting => false|nil|0, it ;TI"defaults to 100.;To;;0; [o; ; [I"G*allow_nan*: If set to true, allow NaN, Infinity and -Infinity in ;TI"Ndefiance of RFC 4627 to be parsed by the Parser. This option defaults to ;TI"false.;To;;0; [o; ; [ I"F*symbolize_names*: If set to true, returns symbols for the names ;TI"G(keys) in a JSON object. Otherwise strings are returned, which is ;TI"?also the default. It's not possible to use this option in ;TI"4conjunction with the *create_additions* option.;To;;0; [o; ; [I"D*create_additions*: If set to false, the Parser doesn't create ;TI"Madditions even if a matching class and create_id was found. This option ;TI"defaults to false.;To;;0; [o; ; [I"%*object_class*: Defaults to Hash;To;;0; [o; ; [I"%*array_class*: Defaults to Array;T: @fileI"ext/json/parser/parser.c;T:0@omit_headings_from_table_of_contents_below0I"new(source, opts => {}) ;T0[ I"(p1, p2 = {});T@BFI"Parser;TcRDoc::NormalClass00