Dann Ke added the comment:

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 <rep...@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 <rep...@bugs.python.org>
> <http://bugs.python.org/issue21543>
> _______________________________________
>

----------

_______________________________________
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

Reply via email to