BHoM_Engine
BHoM_Engine copied to clipboard
Serialisation_Engine: Review the way an Enumeration is represented in Json and how it is processed for Serialisation
Broken rules:
Nothing necessarily broken but good to have a deeper look into it.
One aspect to look into, for example is that an Enumeration is able to serialise properly right now only because it is an IObject.
Suggestions to restore compliance:
@adecler I've had a look through the PR which mentioned this, and I wonder if we can either close this issue, or if we need to reframe it given the new Serialiser Engine process you put in this year?
It's definitely worth looking from the perspective of the new serialiser. That being said, I don't think the Enumeration class has not been used outside of the EmbodiedCarbon toolkit and, even there, I have removed its used in the latest version. So it might be worth considering removing it altogether instead of bothering solving the pending issues for it on UI, serialisation, etc