I'm not sure what you should replace it with. I think the only reason why simplejson is no longer distributed with web2py was that the json module became part of the standard library of python. Therefore, it did not seem necessary to include it. However, if you wish to install simplejson for some reason, then I don't think there is anything stopping you.
On Tuesday, 13 October 2020 at 11:25:43 UTC+1 Pie wrote: > I have the same problem as the OP. However the function I need to replace > is: > gluon.contrib.simplejson.encoder.encode_basestring > > What should I replace this with? > > On Wednesday, October 9, 2019 at 7:42:30 AM UTC-7 villas wrote: > >> I think we stopped using simplejson some time ago. >> >> Now, when you do this: >> from gluon.contrib import simplejson >> >> ... this happens ... >> from json import * >> >> So, you may as well use the modules of json directly. >> > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/3c990181-e77d-4c04-80ad-53eb83782394n%40googlegroups.com.