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
Ah. Good point, yes, definitely a bug.. I will try to fix this; I agree this is bit subtle, esp. with respect to namespaces. So I should have a look.
FWIW, this is due to refactoring to make PropertyName replace use of Strings (mostly to allow passing of XML namespaces; but possibly other scoping for non-JSON formats too).
jackson-databind 2.3.0 or later, POJOPropertyBuilder lines 681-688 says:
but
_name
is of typePropertyName
, so this check is alwaysfalse
. That's why all properties are marked as "renamed" in methodfindNewName()
.I would have sent a patch but I don't know what's the right way to fix it.
The text was updated successfully, but these errors were encountered: