➜

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 Dann.Ke
Recipients Dann.Ke, akira
Date 2014-05-20.17:11:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAD18AVRndKZEN9wHf+C1JuaKTxPNBpiRG7P_XCs5w5FjhSN-FQ@mail.gmail.com>
In-reply-to <1400605745.2.0.105957584855.issue21543@psf.upfronthosting.co.za>
Content
I was reading the older 2.7 docs and it didn't click that default() was
what I wanted. Thank you for clarifying.

On Tue, May 20, 2014 at 10:09 AM, akira <report@bugs.python.org> wrote:

>
> 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 <report@bugs.python.org>
> <http://bugs.python.org/issue21543>
> _______________________________________
>
History
Date User Action Args
2014-05-20 17:11:21Dann.Kesetrecipients: + Dann.Ke, akira
2014-05-20 17:11:21Dann.Kelinkissue21543 messages
2014-05-20 17:11:21Dann.Kecreate