summaryrefslogtreecommitdiff
path: root/ext/psych/lib/psych/json/stream.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/psych/lib/psych/json/stream.rb')
-rw-r--r--ext/psych/lib/psych/json/stream.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/psych/lib/psych/json/stream.rb b/ext/psych/lib/psych/json/stream.rb
index e568719dc8..be1a0a8a82 100644
--- a/ext/psych/lib/psych/json/stream.rb
+++ b/ext/psych/lib/psych/json/stream.rb
@@ -3,8 +3,9 @@ require 'psych/json/yaml_events'
module Psych
module JSON
- class Stream < Psych::Stream
+ class Stream < Psych::Visitors::JSONTree
include Psych::JSON::RubyEvents
+ include Psych::Streaming
class Emitter < Psych::Stream::Emitter # :nodoc:
include Psych::JSON::YAMLEvents