Python JSON 字符串 转 json 基本使用

字符串 转  json

import json

jsonData = '{"a":1,"b":2,"c":3,"d":4,"e":5}';

text = json.loads(jsonData)
print(text)

 

posted @ 2019-08-01 11:24  ma_fighting  阅读(26368)  评论(1编辑  收藏  举报
历史天气查