I've upgraded to Web2Py 1.98.2 (by deleting my existing web2py files
rather than overwriting)

When Web2py is given this to parse in json
dict: {'[email protected]': {<lazyT 'account messages'>: False, <lazyT
'newsletters'>: False, 'scores': False}}

I get an exception that lazyT isn't a string.

1.98.2 is supposed to translate lazyT into a string. What point have I
missed?



On Aug 11, 12:14 pm, Carl <[email protected]> wrote:
> I'm using @service.jsonrpc as a decorator to controller functions and
> setting service=Service(globals()) in db.py
>
> what needs to change to move to the new simplejson that later versions
> of Web2py uses?
> I'd like to have datetime and T objects translated into strings so
> want to move to the better approach.

Reply via email to