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.
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, #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