[issue18264] enum.IntEnum is not compatible with JSON serialisation
Eric Snow
report at bugs.python.org
Wed Jun 19 16:09:36 CEST 2013
Eric Snow added the comment:
> Serialization isn't the only issue - you have to know how
> to deserialize as well.
+1
> (TBH, I wish the json module had better hooks for extending
> both serialization and deserialization of non-basic types.)
+1
There's at least one stdlib module that does this pretty well (sqlite3, I think). This is where a simple serialization (and deserialization of course) protocol would come in handy.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18264>
_______________________________________
More information about the Python-bugs-list
mailing list