Skip to content

New Mapper: SJF4J #31

Description

@hannyu

Hi,

Is this benchmark still actively maintained?

I've been working on SJF4J and would be interested in adding it to the comparison. Before putting together a PR, I wanted to check whether new mapper implementations are still being accepted.

Thanks!

Activity

  1. arey commented on Jun 1, 2026

    @arey
    Owner

    Hi @hannyu

    Yes, this benchmark is still being maintained. There hasn't been a new Java mapping library for a while, so it hasn't changed much.
    I took a look at https://sjf4j.org/. I'm not sure that we could compare SJF4J with MapStruct, for example. Am I missing something?

    Regards

    Antoine

  2. hannyu commented on Jun 2, 2026

    @hannyu
    ContributorAuthor

    Hi @arey ,

    I'm very glad to hear that. Thanks for the clarification.

    You're not missing anything. Historically, SJF4J has focused on JSON-oriented data modeling and processing rather than object mapping itself. However, once you start working with JSON-semantic object graphs, data mapping becomes a fairly natural next step.

    Since SJF4J is built around a rather unique Object-Based Node Tree (OBNT) model, existing mapping frameworks cannot fully leverage or understand that model. As a result, implementing a dedicated mapping solution within SJF4J became the most practical approach.

    The mapping module is currently under development, so the design is still evolving.

    If things go as planned, I may come back with a PR in the near future, and we can then see whether SJF4J fits the scope of the benchmark and makes for an interesting comparison alongside the existing mapping frameworks.

    Thanks again!

  3. arey commented on Jun 4, 2026

    @arey
    Owner

    Hi @hannyu

    We could do what you suggested.
    Yesterday, I upgraded to the minimum required version of Java for the benchmark: Java 17.
    I hope to see your pull request in a few weeks.

    Regards

    Antoine

  4. hannyu commented on Jun 9, 2026

    @hannyu
    ContributorAuthor

    Hi @arey

    I am back with #32 ✌️

  5. hannyu commented on Jun 13, 2026

    @hannyu
    ContributorAuthor

    Hi @arey

    Thanks for merging the branch.

    Does the main README still need to be updated to include SJF4J in the benchmark results, or is that handled automatically?

  6. arey commented on Jun 21, 2026

    @arey
    Owner

    Hi @hannyu I had a little work in order the README.
    That's done: https://github.com/arey/java-object-mapper-benchmark
    Welcome SJF4J to the second rank 👍

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions