feat: modular serialization and deserialization subsystem #11
Labels
No labels
Blocked
ByBug
Blocked
ByDependency
Blocked
ByMissingFeature
Bug
Accepted
Bug
Fixed
Bug
In Progress
Bug
Invalid
Bug
ItWorksOnMyMachine
Bug
MoreInvestigation
Bug
New
Empty
FeatureRequest
Accepted
FeatureRequest
Implemented
FeatureRequest
In Progress
FeatureRequest
Invalid
FeatureRequest
New
FeatureRequest
PartiallyImplemented
FeatureRequest
WontAdd
Important
PR
BranchMerge
PR
BugFix
PR
Documentation
PR
FeatureAddition
PR
Miscellaneous
PR
Mixed
PR
New
PR
Tests
PR
Update
Roadmap
Stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Reference: StarOpenSource/Engine#11
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Feature description
I regularily need to do (de-)serialization of classes in sideprojects and always manage to get it wrong or break. It should support/do the following:
Feature implementation
For serialization, I propose simply saving the data using the specified format. For deserialization however, I propose loading the serialized data using the specified format into a Map or similar type, executing migrations on it and then converting it into the deserialized class. I am unsure however if this will work.
Feature alternatives
For the deserialization process: Loading the serialized data in the parser's own format, allowing migrations to modify them and then converting the data into a deserialized class. May however bring compatibility issues with it, which we don't want to have.