class Crack::JSON
def self.parse(json)
def self.parse(json) YAML.load(unescape(convert_json_to_yaml(json))) rescue ArgumentError => e raise ParseError, "Invalid JSON string" end
def self.parse(json) YAML.load(unescape(convert_json_to_yaml(json))) rescue ArgumentError => e raise ParseError, "Invalid JSON string" end