2a3a0d60cd
CentOS5 has python 2.4 which doesn't have a built-in json module
8 lines
105 B
Python
8 lines
105 B
Python
#!/usr/bin/python
|
|
|
|
try:
|
|
import json
|
|
except ImportError:
|
|
import simplejson as json
|
|
|
|
print json.dumps(1)
|