json_string = '["a","b",null,null,"e"]' # passed from JavaScript
try:
import simplejson as json
except (ImportError,):
import json
result = json.loads(json_string)
print repr(result)
anNvbl9zdHJpbmcgPSAnWyJhIiwiYiIsbnVsbCxudWxsLCJlIl0nICAjIHBhc3NlZCBmcm9tIEphdmFTY3JpcHQKCnRyeToKICAgIGltcG9ydCBzaW1wbGVqc29uIGFzIGpzb24KZXhjZXB0IChJbXBvcnRFcnJvciwpOgogICAgaW1wb3J0IGpzb24KCnJlc3VsdCA9IGpzb24ubG9hZHMoanNvbl9zdHJpbmcpCgpwcmludCByZXByKHJlc3VsdCk=