blob: 2f94b8c25278de90bb37b7ad76f4e6497b8488fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: false
require 'psych/json/yaml_events'
module Psych
module JSON
###
# 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.
class TreeBuilder < Psych::TreeBuilder
include Psych::JSON::YAMLEvents
end
end
end
|