Skip to content

Consider renaming o.s.b.jackson2.Json* classes to Jackson2* #47787

@vpavic

Description

@vpavic

In the early days with Spring Boot 4, projects that rely on Jackson a lot will likely have to use Jackson 3 and Jackson 2 annotations side by side, until the broader ecosystem moves to Jackson 3. For example:

@JacksonMixin(ThirdPartyClass.class)
@JsonMixin(ThirdPartyClass.class)
@JsonIgnoreType
class ThirdPartyClassMixin {

}

To improve readability and consistency, perhaps annotations like @JsonMixin (or basically all classes under org.springframework.boot.jackson2) could be renamed to @Jackson2Mixin. That isn't a new breaking change (vs Spring Boot 3) since those classes have either way already been relocated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: team-meetingAn issue we'd like to discuss as a team to make progressstatus: waiting-for-triageAn issue we've not yet triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions