Python JSON Operator
import json class JsonOperator(): def __init__(self,file): self.file = file def write(self,data): with open(self.file,'w') as f: json.dump(data, f, ensure_ascii=False) def read(self): with open(self.file,'r') as f: data = json.load(f) return data