Closed mhmdkanj closed 4 years ago
Good catch! As you said, we could just JSON encode the data into a single object and read back the values we know off. Ideally, this would make the config file backward and forward compatible.
Any additional features that require saving would be added to this json
object in the Data Handler as well as the respective updates in Load_Save.
Saved configuration files of older GUI versions might not load in case the GUI was updated [especially when more features that require saving/loading are added or modified]. The issue can be approached by transforming the Data Handler to deal with
json
files rather than statically serialized data.