-
Notifications
You must be signed in to change notification settings - Fork 924
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…4507) Motivation: - #4506 Modifications: * Use `BeanPropertyDefinition#getInternalName` to find the right constructor parameter or getter. - Unlike `BeanPropertyDefinition#getName` `#getInternalName` is derived from accessor and is not based on annotations or naming strategy. * Use `@JsonProperty` annotation-based matching strategy to find the right field or constructor parameter for the fields without accessor(getter). - `#getInternalName` is generated based on annotations or naming strategy if there's no available accessor for a field. Limitation: * `@JsonProperty` annotation-based field matching strategy may not cover POJOs without `@JsonProperty` and de/serialized with non-default naming strategy . Result: - Closes #4506
- Loading branch information
Showing
4 changed files
with
53 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters