Add (de)serialization to all settings classes #535
Labels
python-api
Related to the new Helios++ Python API
sustainable h++
Part of the sustainable HELIOS++ project
All settings classes should be trivially serializable to JSON/YAML etc. For that purpose, it would make sense to extend the model base class with these capabilities. I would propose to add the following:
I do not think the particular choice of YAML or JSON is relevant here, might as well allow both. The import bit is that the writing and parsing is implemented in exactly one place to minimize the overhead of having both.
The text was updated successfully, but these errors were encountered: