Skip to content

Allow @JsonAnySetter on ElementType.PARAMETER (for use on constructor parameters) #242

Description

@cowtowncoder

To potentially support usage like:

public class POJO
{
    @JsonCreator
    public POJO562(@JsonProperty("a") String a,
        @JsonAnySetter Map<String, Object> leftovers) {
        ...
    }
}

it is necessary change access to include ElementType.PARAMETER. Let's do that.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions