Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change wording of UnrecognizedPropertyException to refer to "property" not "field" #2713

Closed
cowtowncoder opened this issue May 7, 2020 · 0 comments
Labels

Comments

@cowtowncoder
Copy link
Member

As of Jackson 2.x, UnrecognizedPropertyException has message like:

Unrecognized field \"%s\" (class %s), not marked as ignorable

but term "field" should really be "property" to be consistent with other parts of Jackson (we could also consider referring to "unknown" instead of "unrecognized" but for now leave that be).
Since message may be considered part of API (it is likely that some logging, error handling, by external monitoring matches some messages like this), let's only change for 3.0, not 2.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant