@staticmethod
    def _resource_deserialize(s):

        try:
            return json.loads(s)
        except ValueError:
            raise ResponseError('The API Response was not valid.')
Returns dict deserialization of a given JSON string.
dataset/ETHPy150Open kennethreitz-archive/python-github3/github3/api.py/GithubCore._resource_deserialize