python json extract

 

 

 

 

 to sum up:

If the list is converted into the required str performed json layers extracted using json.loads (str)

json turn str: Use json.dumps (json variable)

[], Are extracted with several 0,1

 By {} key, to obtain the value

Guess you like

Origin www.cnblogs.com/yangcong2019/p/11937389.html
Recommended