def add_json(self, json_obj, **kwargs):
        return self.add_str(utils.encode_json(json_obj), **kwargs)
Resets the failure_count variable to 0 - useful if error is expected.
dataset/ETHPy150Open ipfs/py-ipfs-api/ipfsApi/client.py/Client.add_json--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/command.py/ResetFailureCount