new (JSON::Pure::Parser)

        # File lib/json/pure/parser.rb, line 64
    64:       def initialize(source, opts = {})
    65:         super
    66:         if !opts.key?(:max_nesting) # defaults to 19
    67:           @max_nesting = 19
    68:         elsif opts[:max_nesting]
    69:           @max_nesting = opts[:max_nesting]
    70:         else
    71:           @max_nesting = 0
    72:         end
    73:         @allow_nan = !!opts[:allow_nan]
    74:         ca = true
    75:         ca = opts[:create_additions] if opts.key?(:create_additions)
    76:         @create_id = ca ? JSON.create_id : nil
    77:       end