diff options
author | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-22 22:12:39 +0000 |
---|---|---|
committer | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-22 22:12:39 +0000 |
commit | 044d6010fd22ede84b5afd93bce7c4f0ff97adbd (patch) | |
tree | 3761c8b649590de5ce66374bd16647b043dcc7f6 /ext/psych/lib/psych.rb | |
parent | eb5f96d70cfbae16fcb9c2908ddd9ff7b41d9e13 (diff) |
* ext/psych/lib/psych/json/stream.rb: adding a JSON streaming API
* ext/psych/lib/psych/stream.rb: ditto
* ext/psych/lib/psych.rb: using autoload
* ext/psych/lib/psych/json.rb: ditto
* ext/psych/lib/psych/json/tree_builder.rb: refactor
* ext/psych/lib/psych/visitors/json_tree.rb: refactor
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/psych/lib/psych.rb')
-rw-r--r-- | ext/psych/lib/psych.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/psych/lib/psych.rb b/ext/psych/lib/psych.rb index 4b529c0904..c1feff8e3a 100644 --- a/ext/psych/lib/psych.rb +++ b/ext/psych/lib/psych.rb @@ -3,7 +3,6 @@ require 'psych/nodes' require 'psych/visitors' require 'psych/handler' require 'psych/tree_builder' -require 'psych/json/tree_builder' require 'psych/parser' require 'psych/omap' require 'psych/set' @@ -98,6 +97,7 @@ module Psych end autoload :Stream, 'psych/stream' + autoload :JSON, 'psych/json' ### # Load +yaml+ in to a Ruby data structure. If multiple documents are |