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'm a google-http-client-jackson2 user, and I struggled a bit looking for a way to setup an enum type as a @Key.
This is the exception I was getting: IllegalArgumentException: given enum name New not part of enumeration
Eventually I was able to find that out myself by looking into the class FieldInfo, and I learned of the existence of the annotations @Value and @NullValue.
I'm opening this issue to please ask you to update the Developer's Guide (the JSON page in particular) with a new paragraph talking about those two annotations.
I'm a
google-http-client-jackson2
user, and I struggled a bit looking for a way to setup an enum type as a@Key
.This is the exception I was getting:
IllegalArgumentException: given enum name New not part of enumeration
Eventually I was able to find that out myself by looking into the class FieldInfo, and I learned of the existence of the annotations
@Value
and@NullValue
.I'm opening this issue to please ask you to update the Developer's Guide (the JSON page in particular) with a new paragraph talking about those two annotations.
Thanks.
PS: I think this relates to #127
The text was updated successfully, but these errors were encountered: