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-08-09 03:55:40 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)