method

accept

accept(target)
public

No documentation available.

# File ext/psych/lib/psych/visitors/json_tree.rb, line 15
      def accept target
        if target.respond_to?(:encode_with)
          dump_coder target
        else
          send(@dispatch_cache[target.class], target)
        end
      end