Class HppcContainerDeserializers


  • public class HppcContainerDeserializers
    extends java.lang.Object
    • Field Detail

      • _concreteMapping

        protected static final java.util.HashMap<java.lang.Class<?>,​java.lang.Class<?>> _concreteMapping
        We can either register abstract type defaults via ObjectMapper, or just do it here. For now let's just do it locally; this will allow override of definitions by app code (by using ObjectMapper resolution)
    • Constructor Detail

      • HppcContainerDeserializers

        public HppcContainerDeserializers()
    • Method Detail

      • findDeserializer

        public static com.fasterxml.jackson.databind.JsonDeserializer<?> findDeserializer​(com.fasterxml.jackson.databind.DeserializationConfig config,
                                                                                          com.fasterxml.jackson.databind.JavaType origType)
                                                                                   throws com.fasterxml.jackson.databind.JsonMappingException
        Method called to see if this serializer (or a serializer this serializer knows) should be used for given type; if not, null is returned.
        Throws:
        com.fasterxml.jackson.databind.JsonMappingException
      • hasDeserializerFor

        public static boolean hasDeserializerFor​(com.fasterxml.jackson.databind.DeserializationConfig config,
                                                 java.lang.Class<?> rawType)