summaryrefslogtreecommitdiff
path: root/ext/psych/lib/psych/json/stream.rb
blob: e568719dc8ae92024824797901225fe573a6ed39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'psych/json/ruby_events'
require 'psych/json/yaml_events'

module Psych
  module JSON
    class Stream < Psych::Stream
      include Psych::JSON::RubyEvents

      class Emitter < Psych::Stream::Emitter # :nodoc:
        include Psych::JSON::YAMLEvents
      end
    end
  end
end