递归获取嵌套json 的所有key及value值
摘要:import json class Get_Dict_All_Keyvalue: """ 递归获取多维嵌套字典所有层级的key和value """ def __init__(self, analysis_dict): #判断类型,如果是str的需要进行loads处理 self.res_dict =
阅读全文
posted @ 2023-07-31 18:30
posted @ 2023-07-31 18:30
posted @ 2023-07-27 16:58
posted @ 2023-07-14 18:17
posted @ 2023-07-12 13:34
posted @ 2023-07-10 16:51