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
Although Javadocs do not specify expected behavior for JsonParser.getValueAsString(), when current token is JsonToken.FIELD_NAME, it makes more sense to return name as-is, instead of null.
This will simplify handling of code that requires a String representation; and code that does need to know the difference can use token type if that is relevant.
While this can be seen as a fix it is still a minor API change, so it needs to go in 2.6.0, not a 2.5.x patch release.