Class ExplicitlySetFilter
- java.lang.Object
-
- com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter
-
- io.micronaut.oraclecloud.serialization.jackson.internal.ExplicitlySetFilter
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.ser.BeanPropertyFilter
,com.fasterxml.jackson.databind.ser.PropertyFilter
public final class ExplicitlySetFilter extends com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter
Jackson implementation of the explicitly set filter. The filter will include in the serialization all properties that were explicitly set by user and will exclude all others based on methods provided by theExplicitlySetBmcModel
.
-
-
Field Summary
Fields Modifier and Type Field Description static ExplicitlySetFilter
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
include(com.fasterxml.jackson.databind.ser.BeanPropertyWriter writer)
protected boolean
include(com.fasterxml.jackson.databind.ser.PropertyWriter writer)
void
serializeAsField(java.lang.Object pojo, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider, com.fasterxml.jackson.databind.ser.PropertyWriter writer)
-
Methods inherited from class com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter
depositSchemaProperty, depositSchemaProperty, depositSchemaProperty, depositSchemaProperty, filterOutAllExcept, filterOutAllExcept, from, includeElement, serializeAll, serializeAll, serializeAllExcept, serializeAllExcept, serializeAsElement, serializeAsField
-
-
-
-
Field Detail
-
INSTANCE
public static final ExplicitlySetFilter INSTANCE
-
-
Method Detail
-
serializeAsField
public void serializeAsField(java.lang.Object pojo, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider, com.fasterxml.jackson.databind.ser.PropertyWriter writer) throws java.lang.Exception
- Specified by:
serializeAsField
in interfacecom.fasterxml.jackson.databind.ser.PropertyFilter
- Overrides:
serializeAsField
in classcom.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter
- Throws:
java.lang.Exception
-
include
protected boolean include(com.fasterxml.jackson.databind.ser.BeanPropertyWriter writer)
- Overrides:
include
in classcom.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter
-
include
protected boolean include(com.fasterxml.jackson.databind.ser.PropertyWriter writer)
- Overrides:
include
in classcom.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter
-
-