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
Currently class metadata is being used only for datastructures that are being serialized as a json object. The enum isn't this is why there is no way for Genson to know what the type is when deserializing it back.
I started working some time ago to support class metadata for any type, but this has downsides as the generated json becomes more and more of a ad hoc protocol that wouldn't be friendly to consume by other libs/languages. So I did put it on hold.
Consider the following:
The equality failure is due to the value within the deserialized result is String vs TimeUnit.
The text was updated successfully, but these errors were encountered: