Skip to content

@JsonIncludeProperties and @JsonPropertyOrder could be combined #3083

@marceloverdijk

Description

@marceloverdijk

I was experimenting a bit with the @JsonIncludeProperties introduced recently.

It would be nice if it would automatically apply the property order instead of having to include @JsonPropertyOrder as well.

Now we need:

@JsonIncludeProperties({
        "id",
        "code",
        "name"
})
@JsonPropertyOrder({
        "id",
        "code",
        "name"
})
public class Continent {

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions