import json
class ReadJson(object):
def __init__(self,file):
self.file=file
def read(self):
with open(self.file, 'r',encoding='utf-8') as f:
list = json.load(f)
return list
def w
读取与写入json文件
最新推荐文章于 2024-05-29 10:13:53 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)