Replies: 2 comments
|
Hello. Can you share some details about the "incident in past" you've experienced that led to this conversation? |
0 replies
|
What about adding a similar rule but for Gson ? |
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.
All reactions