Skip to content

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

@cowtowncoder

Description

@cowtowncoder

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.xIssues to be only tackled for Jackson 3.x, not 2.x

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions