Frage

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?

Thanks!

War es hilfreich?

Lösung

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

import json as simplejson
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top