Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Support @JsonAnyGetter #104

Closed
alicederyn opened this issue Jan 19, 2016 · 1 comment · Fixed by #417
Closed

Support @JsonAnyGetter #104

alicederyn opened this issue Jan 19, 2016 · 1 comment · Fixed by #417

Comments

@alicederyn
Copy link
Collaborator

Map properties annotated @JsonAnyGetter should result in the single-entry put method in the Builder being annotated with @JsonAnySetter. This can be done manually by overriding the method, but automatic support would be nice.

alicederyn added a commit that referenced this issue Jan 19, 2016
Getters annotated with @JsonAnyGetter, @JsonUnwrapped or @JsonValue should definitely not have @JsonProperty annotations added to the Builder.

Annotating a Map property with @JsonAnyGetter would ideally result in a @JsonAnySetter annotation on the Builder (issue #104), but skipping the @JsonProperty annotations is critical.
alicederyn added a commit that referenced this issue Jan 20, 2016
Getters annotated with @JsonAnyGetter, @JsonUnwrapped or @JsonValue should definitely not have @JsonProperty annotations added to the Builder.

Annotating a Map property with @JsonAnyGetter would ideally result in a @JsonAnySetter annotation on the Builder (issue #104), but skipping the @JsonProperty annotations is critical.
alicederyn added a commit that referenced this issue Jan 21, 2016
Getters annotated with @JsonAnyGetter, @JsonUnwrapped or @JsonValue should definitely not have @JsonProperty annotations added to the Builder.

Annotating a Map property with @JsonAnyGetter would ideally result in a @JsonAnySetter annotation on the Builder (issue #104), but skipping the @JsonProperty annotations is critical.
alicederyn added a commit that referenced this issue Jan 22, 2016
Getters annotated with @JsonAnyGetter, @JsonIgnore, @JsonUnwrapped or @JsonValue should definitely not have @JsonProperty annotations added to the Builder.

Annotating a Map property with @JsonAnyGetter would ideally result in a @JsonAnySetter annotation on the Builder (issue #104), but skipping the @JsonProperty annotations is critical.
mgorniew pushed a commit to mgorniew/FreeBuilder that referenced this issue Aug 11, 2019
mgorniew pushed a commit to mgorniew/FreeBuilder that referenced this issue Aug 21, 2019
mgorniew pushed a commit to mgorniew/FreeBuilder that referenced this issue Aug 21, 2019
@alicederyn
Copy link
Collaborator Author

Thanks to @mgorniew, this is now fixed in v2.5.0.

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

Successfully merging a pull request may close this issue.

1 participant