[issue5535] json custom encoder not fully functionnal

Bob Ippolito report at bugs.python.org
Sun Mar 22 17:17:37 CET 2009


Bob Ippolito <bob at redivi.com> added the comment:

It is common to specify a default function but it would be terrible for 
performance if this function was called for every single object passed 
through to the decoder.

If you want a serialization different from a primitive type you'll have to  
choose a different base class.

----------
resolution:  -> wont fix

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5535>
_______________________________________


More information about the Python-bugs-list mailing list