How do I serialise a Python Enum member to JSON, so that I can deserialise the resulting JSON back into a Python object?
Enum
For example, this code:
In Python 3.7, can just use json.dumps(enum_obj, default=str)
json.dumps(enum_obj, default=str)