def __update_json__(self, json):
        if len(self.random_numbers) > 0:
            json.update({
                'random': self.random_numbers
            })
        return json
dataset/ETHPy150Open danielyule/hearthbreaker/hearthbreaker/serialization/move.py/Move.__update_json__/original