我有一本字典,例如:
a = {'a':1,'b':2,'c':3}
我希望它保存在一个 json 文件中。
我如何使用原始的 python json 库来做到这一点?
请注意,我正在运行 Python 3.5.2,它有一个内置的 json 库。
python json dictionary
dictionary ×1
json ×1
python ×1