method
create
v2_2_9 -
Show latest stable
- Class:
Psych::Visitors::JSONTree
create(options = {})public
No documentation available.
# File ext/psych/lib/psych/visitors/json_tree.rb, line 8
def self.create options = {}
emitter = Psych::JSON::TreeBuilder.new
class_loader = ClassLoader.new
ss = ScalarScanner.new class_loader
new(emitter, ss, options)
end