# File lib/webmock/util/json.rb, line 6 def self.parse(json) YAML.load(unescape(convert_json_to_yaml(json))) rescue ArgumentError => e raise ParseError, "Invalid JSON string" end