Methods

Class/Module Index [+]

Quicksearch

PhusionPassenger::Utils::JSON::Generator

Constants

ESC_MAP

Public Instance Methods

dump(obj) click to toggle source
Alias for: generate
generate(obj) click to toggle source
# File lib/phusion_passenger/utils/json.rb, line 135
def generate(obj)
  raise ArgumentError unless obj.is_a? Array or obj.is_a? Hash
  generate_type(obj)
end
Also aliased as: dump

[Validate]

Generated with the Darkfish Rdoc Generator 2.