Converts a JSON string into a Ruby object.
# File lib/active_support/json/backends/yaml.rb, line 11 def decode(json) YAML.load(convert_json_to_yaml(json)) rescue ArgumentError => e raise ParseError, "Invalid JSON string" end
Generated with the Darkfish Rdoc Generator 2.