@staticmethod
    def _resource_deserialize(s):
        """Returns dict deserialization of a given JSON string."""

        try:
            return json.loads(s)
        except __HOLE__:
            raise ResponseError('The API Response was not valid.')
dataset/ETHPy150Open kennethreitz-archive/python-github3/github3/api.py/GithubCore._resource_deserialize