BaseSerializer

Serializer base class to define the interface

default_extension: str

 

convert(self, data): 

Converts data into a serializable format

  • data: Any
  • :returns: _

 

deconvert(self, data): 

Converts data from a serialized format into a python format

  • data: Any
  • :returns: _

 

serialize(self, file, data, **kwargs): 

Writes the data

  • file: Any
  • data: Any
  • :returns: _

 

deserialize(self, file, **kwargs): 

Loads data from a file

  • file: Any
  • :returns: _

Feedback

Examples

Templates

Documentation