1require 'psych/json/yaml_events' 2 3module Psych 4 module JSON 5 ### 6 # Psych::JSON::TreeBuilder is an event based AST builder. Events are sent 7 # to an instance of Psych::JSON::TreeBuilder and a JSON AST is constructed. 8 class TreeBuilder < Psych::TreeBuilder 9 include Psych::JSON::YAMLEvents 10 end 11 end 12end 13