parser=(parser)
Set the JSON parser class parser to be used by JSON.
# File ext/json/lib/json/common.rb, line 26 def parser=(parser) # :nodoc: @parser = parser remove_const :Parser if const_defined?(:Parser, false) const_set :Parser, parser end