Forking simplejson
Amirouche Boubekki
amirouche.boubekki at gmail.com
Fri Feb 10 15:27:54 EST 2012
Héllo,
I did it, it wasn't that difficult actually.
the source is available @ https://github.com/amirouche/jsonir
there is example :
https://github.com/amirouche/jsonir/blob/master/example.py
What makes the implementation of __json__ awkward is the iterencode support
of simplejson that I kept. I'm wondering if it makes
sens to have such a feature, what do you think ?
I does not support multiple json representation of an object
out-of-the-box, one solution is to "__json__" hook a parameter of the
encoder.
I did not test it.
Cheers,
Amirouche
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120210/d03ea9a3/attachment.html>
More information about the Python-list
mailing list