new(source, opts => {})
Class Public methods
Creates a new JSON::Ext::Parser instance for the
string source.
Creates a new JSON::Ext::Parser instance for the
string source.
It will be configured by the opts hash. opts can have the
following keys:
opts can have the following keys:
max_nesting: The maximum depth of nesting allowed in the
parsed data structures. Disable depth checking with :max_nesting =>
false|nil|0, it defaults to 100.
allow_nan: If set to true, allow NaN,