Class ProjectionReferredTypeOverrideJacksonContributor
java.lang.Object
com.broadleafcommerce.common.extension.mapping.ProjectionReferredTypeOverrideJacksonContributor
For any
ProjectionReferredTypeOverride
instances, will establish a class mapping in
TypeFactory
, and then establish the appropriate TypeFactoryAwareDeserializer
in
the TypeFactoryAwareDeserializerModule
. This will cause jackson to deserialize to derived
types, even when the generics in place may call for a supertype. This is valid even for types
buried in deeply nested structures.-
Constructor Summary
ConstructorDescriptionProjectionReferredTypeOverrideJacksonContributor
(List<ProjectionReferredTypeOverride> overrides, TypeFactory factory, TypeFactoryAwareDeserializerModule module) -
Method Summary
-
Constructor Details
-
ProjectionReferredTypeOverrideJacksonContributor
public ProjectionReferredTypeOverrideJacksonContributor(List<ProjectionReferredTypeOverride> overrides, TypeFactory factory, TypeFactoryAwareDeserializerModule module)
-
-
Method Details
-
init
@PostConstruct public void init()
-