Skip to content

Revise the class-based interface #27

@saxbophone

Description

@saxbophone

This needs tidying up, there's two or three routes I can go down:

  • Remove the need to instantiate an encoder class by making the methods @classmethod
  • Change the paradigm to having the encoding settings set at object construction decided against
  • Use class inheritance far more to allow customisation at the inheritance level, using mixin classes e.g. there might be a StreamEncoder base class and a MappingEncoder mixin class. This would probably require deprecating the functional interface entirely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementv1This issue should be closed before version 1 is released

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions