':rtype: any'

def json(self):

    try:
        return json.loads(self.response)
    except ValueError:
        raise HttpError(self.status_code, ('Cannot    parse    response    to    %s    %s    as    JSON:\n%s' % (self.method, self.url, self.response)))
