asolfre / appengine-rest-server

Automatically exported from code.google.com/p/appengine-rest-server
Other
0 stars 0 forks source link

Use json instead of simplejson if possible #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For example replacing :

from django.utils import simplejson

by:

# using json instead of simplejson if it is available
try:
    import json
except ImportError:
    from django.utils import simplejson as json

And update the 2 mentions of simplejson.

(I did not tested yet)

Original issue reported on code.google.com by si...@majou.org on 29 Dec 2011 at 10:27

GoogleCodeExporter commented 9 years ago
is the json module part of the newer appengine?

Original comment by jahlborn@gmail.com on 29 Dec 2011 at 11:35

GoogleCodeExporter commented 9 years ago
ah, i see now that it is.  if you can confirm that it works, i'll make the 
change.

Original comment by jahlborn@gmail.com on 29 Dec 2011 at 11:42

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r70.

Original comment by jahlborn@gmail.com on 14 Jan 2012 at 9:04

GoogleCodeExporter commented 9 years ago

Original comment by jahlborn@gmail.com on 6 Jun 2012 at 1:07