Skip to content

@JsonIncludeProperties could be used like @JsonPropertyOrder #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

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions