Files
server/usr/lib/ruby/3.2.0/psych/json/tree_builder.rb
2026-01-07 20:52:11 +01:00

14 lines
355 B
Ruby

# frozen_string_literal: true
require_relative '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