PHP 8.2.31
Preview: tree_builder.rb Size: 355 B
/proc/thread-self/root/opt/alt/ruby40/share/ruby/psych/json/tree_builder.rb

# 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

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
488 B lrw-r--r-- 2026-05-21 12:15:23
Edit Download
402 B lrw-r--r-- 2026-05-21 12:15:23
Edit Download
355 B lrw-r--r-- 2026-05-21 12:15:23
Edit Download
779 B lrw-r--r-- 2026-05-21 12:15:23
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).