Conceptual understanding
1, json.dumps () and json.loads () format is json handler (can be understood, json string)
(. 1) json.dumps () function is a data type list Python json encoding format ( It can be appreciated that, json.dumps () function is a dictionary into a string)
(2) json.loads () function is to convert the data into the format json dictionary (can be understood, json.loads () function is a string into the dictionary)
2, json.dump () and the json.load () function is mainly used to read and write files json