I do not think any of the existing libraries handle it. One option is fixed in simplejson and submit a patch to the authors. Another option is to fix in gluon.serializers. A third option is to fix in the jsonp view (as the article suggests).
On Wednesday, 30 January 2013 15:05:15 UTC-6, Alan Etkin wrote: > > Oops. It's the first time I see this. > > So what to do about that? Is web2py going to do in-the-middle > replacement?. Doesn't simplejson handles this? > > Also, according to other articles, json should be always encloesed by > array or object literal. The python json libraries are not that restrictive. > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.