akira added the comment: json module already allows you to customize the serialization: see *default* parameter for json.dumps [1]
[1] https://docs.python.org/3/library/json.html#json.dump ---------- nosy: +akira _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21543> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com