json 封装 class JSONWrapper: def __init__(self, data): # 这种属性设置会调用__setattr__, 导致实例字典__dict__中不设置__data属性 # 进而实例属性找不到,会调用__getattr__, 其中又有s...