相关文章推荐
strDic = '{"name":"Lihua","ages":18,"weigth":140,"heigth":170}' str = ujson . loads ( strDic ) print ( str ) print ( type ( str ))

期望输出:

{'heigth': 170, 'ages': 18, 'name': 'Lihua', 'weigth': 140}
<class 'dict'>
 
推荐文章