Class: Psych::JSON::TreeBuilder

Inherits:
TreeBuilder show all
Includes:
YAMLEvents
Defined in:
lib/psych/json/tree_builder.rb

Overview

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.

Instance Attribute Summary

Attributes inherited from TreeBuilder

#root

Method Summary

Methods included from YAMLEvents

#end_document, #scalar, #start_document, #start_mapping, #start_sequence

Methods inherited from TreeBuilder

#alias, #end_document, #end_stream, #initialize, #scalar, #start_document, #start_stream

Methods inherited from Handler

#alias, #empty, #end_document, #end_mapping, #end_sequence, #end_stream, #scalar, #start_document, #start_mapping, #start_sequence, #start_stream, #streaming?

Constructor Details

This class inherits a constructor from Psych::TreeBuilder