Support for the Ruby 2.4 series has ended. See here for reference.

In Files

  • psych/lib/psych/json/tree_builder.rb

Psych::JSON::TreeBuilder

Psych::JSON::TreeBuilder is an event based AST builder. Events are sent to an instance of Psych::JSON::TreeBuilder and a JSON AST is constructed.