java - How do I correctly reuse Jackson ObjectMapper? - Stack Overflow
It's fine to use a single instance per application provided you don't call any configuration methods after it's been made visible i.e. you should do all your initialization inside a static block.
Read full article from java - How do I correctly reuse Jackson ObjectMapper? - Stack Overflow
No comments:
Post a Comment