def serialize(game):

    return json.dumps(game, default=_save_object, indent=2)
Encode the given game instance as a JSON formatted string.  This string can be used to re-construct the game exactly
dataset/ETHPy150Open danielyule/hearthbreaker/hearthbreaker/serialization/serialization.py/serialize