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

Added serialize methods to data structures #148 #149

Merged
merged 10 commits into from
Sep 4, 2023

Conversation

jacanchaplais
Copy link
Owner

Added methods to data structures which return serialisable objects. This should enable an easy interface for simple I/O, so users can write out to text files, eg. JSON.

Component data structures are given as tuples, and composite data structures are given as dictionaries, with their keys matching the attribute names of their components, and the values as the associated serialised tuples.

@jacanchaplais jacanchaplais added the enhancement New feature or request label Sep 4, 2023
@jacanchaplais jacanchaplais added this to the 0.3.2 milestone Sep 4, 2023
@jacanchaplais jacanchaplais self-assigned this Sep 4, 2023
@jacanchaplais jacanchaplais linked an issue Sep 4, 2023 that may be closed by this pull request
@jacanchaplais jacanchaplais merged commit 9eefabe into main Sep 4, 2023
9 checks passed
@jacanchaplais jacanchaplais deleted the feature/serialize-148 branch September 4, 2023 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Add serialize method to data structures
1 participant