json module was added in python 2.6 but GAE supports 2.5 only.
How can I use it there?
json module was added in python 2.6 but GAE supports 2.5 only.
How can I use it there?
Well you wotn be able to use the standard python library, you will have to use some third party lib such as
At least simplejson works on python 2.4
You can try using yaml
module (which is included in GAE) as JSON parser. YAML in recent version is superset of JSON.
>>> import yaml
>>> yaml.load('[false, null, {"x": 1}]')
[False, None, {'x': 1}]