how am I supposed to import json
on Google App Engine? My project works fine locally, but I just can't deploy it online. Here is my code:
import json
self.response.out.write(json.dumps(Jsonobject))
and this is the snippet from the log:
<type 'exceptions.ImportError'>: No module named json
Traceback (most recent call last):
File "/base/data/home/apps/clinteney/1.349424641588618637/Main.py", line 4, in <module>
import json
Thank you in advance.
Brian M. Hunt says:
Try replacing the first line with
Google App Engine only supports certain packages when running on production.