>>> l = '[1]' >>> json.loads(l) [1] >>> l = "[1]" >>> json.loads(l) [1] >>> l = '["1"]' >>> json.loads(l) ['1'] # 见证奇迹,这里为什么报错 ... >>> l = "['1']" >>> json.loads(l)