Class PostDeserializeHelper
java.lang.Object
org.sentrysoftware.metricshub.engine.connector.deserializer.PostDeserializeHelper
Helper class for adding post-deserialization support to an
ObjectMapper.
This class provides a method to add a CustomDeserializer as a post deserializer
for handling special deserialization requirements.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.ObjectMapperaddPostDeserializeSupport(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Add theCustomDeserializeras Post deserializer to the givenObjectMapper
-
Constructor Details
-
PostDeserializeHelper
public PostDeserializeHelper()
-
-
Method Details
-
addPostDeserializeSupport
public static com.fasterxml.jackson.databind.ObjectMapper addPostDeserializeSupport(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Add theCustomDeserializeras Post deserializer to the givenObjectMapper- Parameters:
objectMapper- provides functionality for reading and writing JSON- Returns:
- the updated
ObjectMapper
-