Class EchoObjectMapper
java.lang.Object
com.netflix.spinnaker.echo.jackson.EchoObjectMapper
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.ObjectMapperReturn an ObjectMapper instance that can be reused.static com.fasterxml.jackson.databind.ObjectMapper
-
Method Details
-
newInstance
public static com.fasterxml.jackson.databind.ObjectMapper newInstance() -
getInstance
public static com.fasterxml.jackson.databind.ObjectMapper getInstance()Return an ObjectMapper instance that can be reused. Do not change the configuration of this instance as it will be shared across the entire application, usenewInstance()instead.- Returns:
- Reusable ObjectMapper instance
-