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

generalize serializing scheme #2

Closed
PythonFZ opened this issue Oct 25, 2021 · 0 comments
Closed

generalize serializing scheme #2

PythonFZ opened this issue Oct 25, 2021 · 0 comments

Comments

@PythonFZ
Copy link
Member

To avoid issues when e.g. de-serializing a dict {"Path": "this is some string"} which should return a dict and not a Path object,
it would be possible to serialize all objects to the dict {<type>: val} which would yield{"dict": {"Path": "this is some string"}} and therefore can not be confused with {"Path": "this is some string"}.

@PythonFZ PythonFZ transferred this issue from zincware/ZnTrack Jan 6, 2022
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