You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think we can handle subclasses right now.
This is how Jackson solves it: http://wiki.fasterxml.com/JacksonPolymorphicDeserialization
I'm not sure how this should be implemented since we use CTFE. My idea is to generate code for all know sub-classes. I don't know how we find those sub-classes. Another problem is that when a sub-class is added all modules that use painlessjson will have to be recompiled.
The text was updated successfully, but these errors were encountered:
Good point. Also can't think of a better way of doing it. Would be nice to support, not sure how to do it though. Did you happen to look whether cerealed supports it?
I don't think we can handle subclasses right now.
This is how Jackson solves it: http://wiki.fasterxml.com/JacksonPolymorphicDeserialization
I'm not sure how this should be implemented since we use CTFE. My idea is to generate code for all know sub-classes. I don't know how we find those sub-classes. Another problem is that when a sub-class is added all modules that use painlessjson will have to be recompiled.
The text was updated successfully, but these errors were encountered: