>
> Ouch. I must have used old version of web2py than.
> I always imported simplejson as "import simplejson as json" 
> I totally forgot to replicate my setup before terminating my linode server.
>

Maybe you had simplejson installed in your old o.s., so you could simply 
import it directly.

You could do this instead:

>>> from serializers import json_parser as json

It tries json stdlib, then an installed simplejson, and as fallback the 
module included in contrib.

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to