Tatu Saloranta created CURATOR-547:
--------------------------------------

             Summary: Make JAX-RS MessageBodyReader/-Writer impl 
(JsonServiceInstanceMarshaller) reuse Jackson ObjectMapper
                 Key: CURATOR-547
                 URL: https://issues.apache.org/jira/browse/CURATOR-547
             Project: Apache Curator
          Issue Type: Improvement
            Reporter: Tatu Saloranta
            Assignee: Jordan Zimmerman


I noticed that the JAX-RS reader/writer implementation, 
`JsonServiceInstanceMarshaller` creates `ObjectMapper`s on-the-fly for every 
read and write. This is pretty inefficient, and it is easy to create and use a 
static mapper instance instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to