Use simplejson with Python 2.7 on GAE

Having trouble using simplejson with google app engine running Python 2.7.

Just switched from Python 2.5 on the Master/Slave datastore to Python 2.7 on the High Replication Datastore. This used to work:

from django.utils import simplejson

Now in order to use json, I can do this:

import json

However, I have a need to use simplejson. This works on the localhost debugger, but not on the server:

import simplejson

How can I use this library when running Python 2.7 on GAE?



I think json and simplejson are now compatible. If you've got code using simplejson, you could try

import json as simplejson

Need Your Help

Keeping 80 chars margin for long with statement?

python with-statement pep8

What is the pythonic way to PEP-8-ify such as with statement:

Making an alias for SSH MySQL login using ENDSSH heredoc

mysql bash ssh alias heredoc

I want to make an alias that is kept in my bashrc file to log into a remote MySQL db via SSH.