Methods

Kernel

Public Instance Methods

JSON(object, opts = {}) click to toggle source
    # File lib/yajl/json_gem.rb, line 6
 6:   def JSON(object, opts = {})
 7:     if object.respond_to? :to_s
 8:       JSON.parse(object.to_s, JSON.default_options.merge(opts))
 9:     else
10:       JSON.generate(object, opts)
11:     end
12:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.