muster
muster copied to clipboard
Add a way to specify type hints for a type
Add a way to specify type hints for a type
This is for use with polymorphic lists.
It requires adding a field to the resulting json and then later on using that field to look the correct consumer up to deserialize the appropriate classes.
Not sure about this feature, maybe a custom serializer would do the job better and provide a more consistent API