Class MixinIgnoreType
- java.lang.Object
-
- com.identityworksllc.iiq.common.vo.MixinIgnoreType
-
public class MixinIgnoreType extends Object
Can be used via Jackson’sObjectMapper.addMixInAnnotations(Class, Class)
to ignore any particular type.The following line would cause any values of type
String[]
to be ignored by the object mapper.mapper.addMixInAnnotations(String[].class, MixinIgnoreType.class);
See this page for an extended example:
https://www.baeldung.com/jackson-ignore-properties-on-serialization
-
-
Constructor Detail
-
MixinIgnoreType
public MixinIgnoreType()
-
-