This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients jogo, serhiy.storchaka
Date 2020-01-02.19:58:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1577995088.25.0.881202949799.issue39196@roundup.psfhosted.org>
In-reply-to
Content
To handle non-standard types you can implement the default() method in the subclass of json.JSONEncoder (https://docs.python.org/3/library/json.html#json.JSONEncoder.default) or pass the corresponding argument to json.JSONEncoder() or json.dumps().
History
Date User Action Args
2020-01-02 19:58:08serhiy.storchakasetrecipients: + serhiy.storchaka, jogo
2020-01-02 19:58:08serhiy.storchakasetmessageid: <1577995088.25.0.881202949799.issue39196@roundup.psfhosted.org>
2020-01-02 19:58:08serhiy.storchakalinkissue39196 messages
2020-01-02 19:58:08serhiy.storchakacreate