Deprecated
Since 2.3: use PropertyFilter instead.
com.fasterxml.jackson.annotation.JsonFilter )
for filtering bean properties to serialize.
Starting with version 2.3 this class is deprecated; use
PropertyFilter instead.
| Modifier and Type | Method and Description |
|---|---|
| public void | depositSchemaProperty(BeanPropertyWriter
Bean property writer to use to create schema value writer, ObjectNode Node which the given property would exist within propertiesNode, SerializerProvider Provider that can be used for accessing dynamic aspects of serialization
processing provider)
Deprecated
Since 2.3: new code should use the alternative
depositSchemaProperty
method
Method called by |
| public void | depositSchemaProperty(BeanPropertyWriter
Bean property serializer to use to create schema value writer, JsonObjectFormatVisitor JsonObjectFormatVisitor which should be aware of
the property's existence objectVisitor, SerializerProvider Provider that can be used for accessing dynamic aspects of serialization
processing provider)Method called by |
| public void | serializeAsField(Object
Object that contains property value to serialize pojo, JsonGenerator Generator use for serializing value jgen, SerializerProvider Provider that can be used for accessing dynamic aspects of serialization
processing prov, BeanPropertyWriter Default bean property serializer to use writer)Method called by |
| depositSchemaProperty | back to summary |
|---|---|
| public void depositSchemaProperty(BeanPropertyWriter writer, ObjectNode propertiesNode, SerializerProvider provider) throws JsonMappingException
Deprecated Since 2.3: new code should use the alternative Method called by Typical implementation is something like:
if (include(writer)) {
writer.depositSchemaProperty(propertiesNode, provider);
}
| |
| depositSchemaProperty | back to summary |
|---|---|
| public void depositSchemaProperty(BeanPropertyWriter writer, JsonObjectFormatVisitor objectVisitor, SerializerProvider provider) throws JsonMappingException Method called by Typical implementation is something like:
if (include(writer)) {
writer.depositSchemaProperty(objectVisitor, provider);
}
| |
| serializeAsField | back to summary |
|---|---|
| public void serializeAsField(Object pojo, JsonGenerator jgen, SerializerProvider prov, BeanPropertyWriter writer) throws Exception Method called by Typical implementation is something like:
if (include(writer)) {
writer.serializeAsField(pojo, jgen, prov);
}
| |