skip to Main Content

JSON Pickle serialize object list

I want to serialize a list of objects using jsonpickle. Each of these objects contains a list of objects within them: class ImageManipulationConfiguration: region_list = [] def to_json(self): return jsonpickle.encode(self.region_list, indent=4, separators=(',', ': ')) here, region_list contains objects of this…

VIEW QUESTION
Back To Top
Search