(self)
save v2ray config.json
save v2ray config.json
save v2ray config . json
def save(self):
        '''
        save v2ray config.json
        '''
        json_dump=json.dumps(self.config, indent=2)
        with open(self.path, 'w') as writer:
            writer.writelines(json_dump)
def save ( self ) : json_dump = json . dumps ( self . config , indent = 2 ) with open ( self . path , 'w' ) as writer : writer . writelines ( json_dump )