You can convert a list of the __dict__
member as json
:
def saveJson(self):
return json.dumps([t.__dict__ for t in self.__themes])
CLICK HERE to find out more related problems solutions.
You can convert a list of the __dict__
member as json
:
def saveJson(self):
return json.dumps([t.__dict__ for t in self.__themes])
CLICK HERE to find out more related problems solutions.