解决方案 »

  1.   

    官方网站有答案,参考 
    http://wiki.fasterxml.com/JacksonFAQIs ObjectMapper thread-safe?Short answer: yesLong answer: yes, as long as you always configure instance before use, and do not call configure methods during operation (or synchronize such calls appropriately). Usually it is better to construct separate mapper instance if configurations differ in any case.Further: it is beneficial to use just one instance (or small number of instances) for data binding; many optimizations for reuse (of symbol tables, some buffers) depend on ObjectMapper instances being reused.
      

  2.   

    http://blog.csdn.net/wangyang2698341/article/details/8223929