diff options
Diffstat (limited to 'ruby_1_9_3/ext/psych/lib/psych/json/stream.rb')
-rw-r--r-- | ruby_1_9_3/ext/psych/lib/psych/json/stream.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ruby_1_9_3/ext/psych/lib/psych/json/stream.rb b/ruby_1_9_3/ext/psych/lib/psych/json/stream.rb new file mode 100644 index 0000000000..be1a0a8a82 --- /dev/null +++ b/ruby_1_9_3/ext/psych/lib/psych/json/stream.rb @@ -0,0 +1,15 @@ +require 'psych/json/ruby_events' +require 'psych/json/yaml_events' + +module Psych + module JSON + class Stream < Psych::Visitors::JSONTree + include Psych::JSON::RubyEvents + include Psych::Streaming + + class Emitter < Psych::Stream::Emitter # :nodoc: + include Psych::JSON::YAMLEvents + end + end + end +end |