Leveraging Quarkus build-time metaprogramming capabilities to improve Jackson's serialization performance #42631
Replies: 7 comments 7 replies
-
It would be better to provide a reflect-free introspection for pojo (just like Micronaut did https://docs.micronaut.io/latest/guide/#introspection) |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to also enable this feature for non REST endpoints via an annotation? We are heavily using Jackson for serialization / deserialization outside of the REST context. It would be great if we could also use this new generator and ObjectMapper for our non-REST use-case. Most of our beans are auto-generated, so adding an annotation for registering it with Quarkus wouldn't be a problem. Also, this blog only covers the serialization part. Is reflection-free deserialization also implemented / planned? |
Beta Was this translation helpful? Give feedback.
-
How does the performance of standard jackson and this compare to jackson with the blackbird module? |
Beta Was this translation helpful? Give feedback.
-
Very nice example on how to leverage build-time processors in a concrete case! Do you know what Jackson is using reflection for ? |
Beta Was this translation helpful? Give feedback.
-
Does / will this also work with records and classes with public fields only (no getters / setters)? |
Beta Was this translation helpful? Give feedback.
-
can we do the below with metaprogramming or creating an extension where i can dynamically create kafka consumer based on different application properties because the core logic will be same just topics will be different |
Beta Was this translation helpful? Give feedback.
-
Nice and very promising approach. I just wonder: why did you choose Jackson and not JSON-B? The latter is a standard open for alternative implementations. And the performance of the reference implementation YASSON is even worse than Jackson... by far! And there is a TCK to measure your progress. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Leveraging Quarkus build-time metaprogramming capabilities to improve Jackson's serialization performance
Quarkus: Supersonic Subatomic Java
https://quarkus.io/blog/quarkus-metaprogramming/
Beta Was this translation helpful? Give feedback.
All reactions