java.lang.Object
org.sentrysoftware.metricshub.engine.connector.deserializer.PostDeserializeHelper

public class PostDeserializeHelper extends Object
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 Details

    • PostDeserializeHelper

      public PostDeserializeHelper()
  • Method Details

    • addPostDeserializeSupport

      public static com.fasterxml.jackson.databind.ObjectMapper addPostDeserializeSupport(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      Add the CustomDeserializer as Post deserializer to the given ObjectMapper
      Parameters:
      objectMapper - provides functionality for reading and writing JSON
      Returns:
      the updated ObjectMapper