def _toJSON(self, msg_instance):
        return json.dumps(msg_instance._asdict(), cls=DjangoJSONEncoder)
Verifies a disk modification.
dataset/ETHPy150Open evonove/django-stored-messages/stored_messages/backends/redis/backend.py/RedisBackend._toJSON--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/cmdlib/instance_set_params.py/LUInstanceSetParams._VerifyDiskModification