Replies: 2 comments
-
Hello. Can you share some details about the "incident in past" you've experienced that led to this conversation? |
Beta Was this translation helpful? Give feedback.
0 replies
-
What about adding a similar rule but for Gson ? |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Why?
ObjectMapper is better to have as a field rather than a local variable due to performance reasons.
It is allowed to be declared in fields, constructors, and initialization blocks.
Beta Was this translation helpful? Give feedback.
All reactions