Skip to content

Add Jackson 3.x Plugin SupportΒ #1262

@hungrytech

Description

@hungrytech

Describe the feature you request

Fixture Monkey currently provides a Jackson plugin for object serialization/deserialization, but it only supports Jackson 2.x. Since Spring Boot 4 has adopted Jackson 3.x as the default, many projects are migrating to Jackson 3.x.

I would like to request adding a plugin that supports Jackson 3.x.

This would enable users working with Spring Boot 4.x environments to seamlessly use Fixture Monkey with their Jackson-annotated domain objects without compatibility issues.

(Optional): Suggest A Solution

Create a new module fixture-monkey-jackson-3 that:

  1. Depends on Jackson 3.x libraries:
<dependency>
    <groupId>tools.jackson.core</groupId>
    <artifactId>jackson-databind</artifactId>
    <version>3.0.3</version>
</dependency>
  1. Provides a Jackson3Plugin class:
public class Jackson3Plugin implements Plugin {
    // Jackson 3.x implementation
}
  1. Maintains API compatibility with the existing JacksonPlugin for easy migration
    FixtureMonkey fixtureMonkey = FixtureMonkey.builder()
    .plugin(new Jackson3Plugin())
    .build();

If the feature request is approved, would you be willing to submit a PR?

Yes, I would be willing to submit a PR with guidance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions