Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganize Serialization Code #103

Open
jsallay opened this issue Jun 24, 2023 · 0 comments
Open

Reorganize Serialization Code #103

jsallay opened this issue Jun 24, 2023 · 0 comments

Comments

@jsallay
Copy link
Collaborator

jsallay commented Jun 24, 2023

The serialization code is kind of messy and not extensible. We already have an additional case for base64 encoding. It would be really nice to additionally convert to/from other formats such as json and yaml.

I think we should try to define an interface where a user needs to define a class with a few functions for serialization and deserialization. When serializing, the class to use would be a template parameter. This would make it easy to switch between different formats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant