T
- public class BeanSerializerDelegator<T>
extends com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
BeanSerializationDelegate
. This class can be used instead of
implementing BeanSerializerBase
.Constructor and Description |
---|
BeanSerializerDelegator(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase source) |
BeanSerializerDelegator(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase source,
BeanSerializationDelegate<T> delegate) |
BeanSerializerDelegator(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase source,
Object filterId) |
BeanSerializerDelegator(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase source,
com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter objectIdWriter) |
BeanSerializerDelegator(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase source,
String[] toIgnore) |
Modifier and Type | Method and Description |
---|---|
protected com.fasterxml.jackson.databind.ser.std.BeanSerializerBase |
asArraySerializer() |
void |
serialize(Object bean,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
void |
serializeFields(Object bean,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
protected com.fasterxml.jackson.databind.ser.std.BeanSerializerBase |
withByNameInclusion(Set<String> set,
Set<String> set1) |
com.fasterxml.jackson.databind.ser.std.BeanSerializerBase |
withFilterId(Object filterId) |
protected com.fasterxml.jackson.databind.ser.std.BeanSerializerBase |
withIgnorals(Set<String> toIgnore) |
com.fasterxml.jackson.databind.ser.std.BeanSerializerBase |
withObjectIdWriter(com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter objectIdWriter) |
protected com.fasterxml.jackson.databind.ser.std.BeanSerializerBase |
withProperties(com.fasterxml.jackson.databind.ser.BeanPropertyWriter[] beanPropertyWriters,
com.fasterxml.jackson.databind.ser.BeanPropertyWriter[] beanPropertyWriters1) |
_customTypeId, _serializeObjectId, _serializeWithObjectId, _serializeWithObjectId, _typeIdDef, acceptJsonFormatVisitor, createContextual, findConvertingSerializer, getSchema, properties, resolve, serializeFieldsFiltered, serializeWithType, usesObjectId, withIgnorals
_neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow
getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, replaceDelegatee, unwrappingSerializer
public BeanSerializerDelegator(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase source)
public BeanSerializerDelegator(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase source, com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter objectIdWriter)
public BeanSerializerDelegator(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase source, String[] toIgnore)
public BeanSerializerDelegator(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase source, Object filterId)
public BeanSerializerDelegator(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase source, BeanSerializationDelegate<T> delegate)
public com.fasterxml.jackson.databind.ser.std.BeanSerializerBase withObjectIdWriter(com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter objectIdWriter)
withObjectIdWriter
in class com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
protected com.fasterxml.jackson.databind.ser.std.BeanSerializerBase withIgnorals(Set<String> toIgnore)
withIgnorals
in class com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
protected com.fasterxml.jackson.databind.ser.std.BeanSerializerBase withByNameInclusion(Set<String> set, Set<String> set1)
withByNameInclusion
in class com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
public com.fasterxml.jackson.databind.ser.std.BeanSerializerBase withFilterId(Object filterId)
withFilterId
in class com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
protected com.fasterxml.jackson.databind.ser.std.BeanSerializerBase withProperties(com.fasterxml.jackson.databind.ser.BeanPropertyWriter[] beanPropertyWriters, com.fasterxml.jackson.databind.ser.BeanPropertyWriter[] beanPropertyWriters1)
withProperties
in class com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
protected com.fasterxml.jackson.databind.ser.std.BeanSerializerBase asArraySerializer()
asArraySerializer
in class com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
public void serialize(Object bean, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
serialize
in class com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
IOException
public void serializeFields(Object bean, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException, com.fasterxml.jackson.core.JsonGenerationException
serializeFields
in class com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
IOException
com.fasterxml.jackson.core.JsonGenerationException
Copyright © 2022. All rights reserved.