[web2py] Re: Gluon contrib json encoder

2011-05-06 Thread omicron
Yes. But my problem is with jsonrpc service. There is a bug in tools.py, line 3554 : replace "return simplejson.dumps(..." by "return serializers.json(..." On 6 mai, 18:49, Mathew Grabau wrote: > For me to overcome the issues specified by this I switched to using: > > return response.json(...stu

[web2py] Re: Gluon contrib json encoder

2011-05-06 Thread Mathew Grabau
For me to overcome the issues specified by this I switched to using: return response.json(...stuff to return...) The datetime encoder is not in there anymore and it was causing me trouble. This corrected the issue. On May 6, 8:20 am, omicron wrote: > Before, the encoder have : > > """Implementa

[web2py] Re: Gluon contrib json encoder

2011-05-06 Thread pbreit
Looks like the whole package was updated March 1: http://code.google.com/p/web2py/source/detail?r=8b84ce8b08ebe4af15778d54dc3fc898d159055e&path=/gluon/contrib/simplejson/encoder.py