This PR adds and tests deserialization support for both StringEnum and ObjectEnum, our two type-safe-enums. Both classes have been refactored. The equality stuff has been fixed, bugs have been eradicated and the documentation has been updated/improved. I have also added lots of tests to test both of these classes and their serialization behaviour.
This PR is necessary for #70 because there we also need deserialization whereas we previously only needed serialization.
This PR adds and tests deserialization support for both
StringEnum
andObjectEnum
, our two type-safe-enums. Both classes have been refactored. The equality stuff has been fixed, bugs have been eradicated and the documentation has been updated/improved. I have also added lots of tests to test both of these classes and their serialization behaviour.This PR is necessary for #70 because there we also need deserialization whereas we previously only needed serialization.