Methods
A
N
Class Public methods
new(options = {})
# File ext/psych/lib/psych/visitors/json_tree.rb, line 8
def initialize options = {}, emitter = Psych::JSON::TreeBuilder.new
  super
end
Instance Public methods
accept(target)
# File ext/psych/lib/psych/visitors/json_tree.rb, line 12
def accept target
  if target.respond_to?(:encode_with)
    dump_coder target
  else
    send(@dispatch_cache[target.class], target)
  end
end