Usage of io.vertx.core.json.JsonObject vs jakarta.json.JsonObject ? #39173
Unanswered
StephenOTT
asked this question in
Q&A
Replies: 2 comments 1 reply
-
following up on this. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
-
I wouldn't say one is better than the other. The Jakarta one is part of the JSON-P API, which is for instance used if you use JSON-B (and probably some other libraries). The Vert.x object will be serialized with Jackson and as it comes with Vert.x which is present in most Quarkus projects, it's more or less free. If you don't need to have JSON-P around for other things and you already have Vert.x around, I suppose I would go with the Vert.x one. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi
Seeing varying usage of Jakarta vs the vertx implementations of JsonObject (and supporting json classes):
Which is the preferred version, and why?
I see for example that many quarkus tests that validate RestEasy(Reactive) are running against the vertx implementation.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions