import json

dic={"chao":"123"}
dic_en=json.dumps(dic)
print(dic_en,type(dic_en))
{"chao": "123"} <class 'str'>
print(dic,type(dic))
{'chao': '123'} <class 'dict'>
json实例

相关文章:

  • 2021-08-23
  • 2022-01-15
  • 2021-09-14
  • 2021-10-18
  • 2021-06-30
  • 2021-12-13
  • 2021-05-23
  • 2021-06-09
猜你喜欢
  • 2022-12-23
  • 2021-07-09
  • 2021-06-10
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2021-12-13
相关资源
相似解决方案