Class: Psych::JSON::TreeBuilder
- Inherits:
-
TreeBuilder
- Object
- Handler
- TreeBuilder
- Psych::JSON::TreeBuilder
- 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.
Constant Summary
Constants inherited from Handler
Handler::EVENTS, Handler::OPTIONS
Instance Attribute Summary
Attributes inherited from TreeBuilder
Method Summary
Methods included from YAMLEvents
#end_document, #scalar, #start_document, #start_mapping, #start_sequence
Methods inherited from TreeBuilder
#alias, #end_document, #end_stream, #event_location, #initialize, #scalar, #start_document, #start_stream
Methods inherited from Handler
#alias, #empty, #end_document, #end_mapping, #end_sequence, #end_stream, #event_location, #scalar, #start_document, #start_mapping, #start_sequence, #start_stream, #streaming?
Constructor Details
This class inherits a constructor from Psych::TreeBuilder