Object
matches YAML-formatted dates
# File lib/crack/json.rb, line 11 11: def self.parse(json) 12: YAML.load(unescape(convert_json_to_yaml(json))) 13: rescue ArgumentError => e 14: raise ParseError, "Invalid JSON string" 15: end
# File lib/crack/json.rb, line 18 18: def self.unescape(str) 19: str.gsub(/\\u([0-9a-f]{4})/) { [$1.hex].pack("U") } 20: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.