public class BeanPropertyWriterDelegate
extends com.fasterxml.jackson.databind.ser.BeanPropertyWriter
BeanPropertyWriter
which prevents property values present in the AnnotatedMember
anyGetter
to be serialized twice.
Any property that's present in the anyGetter is ignored upon serialization. The values present in the anyGetter take precedence over those stored in the Bean's fields.
This BeanPropertyWriter implementation is intended to be used in combination with
the SettableBeanPropertyDelegate
to allow the propagation of deserialized properties that don't match the
target field types.
_accessorMethod, _cfgSerializationType, _contextAnnotations, _declaredType, _dynamicSerializers, _field, _includeInViews, _internalSettings, _member, _name, _nonTrivialBaseType, _nullSerializer, _serializer, _suppressableValue, _suppressNulls, _typeSerializer, _wrapperName, MARKER_FOR_EMPTY
Modifier and Type | Method and Description |
---|---|
void |
serializeAsField(Object bean,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider prov) |
_depositSchemaProperty, _findAndAddDynamic, _handleSelfReference, _new, assignNullSerializer, assignSerializer, assignTypeSerializer, depositSchemaProperty, depositSchemaProperty, fixAccess, get, getAnnotation, getContextAnnotation, getFullName, getGenericPropertyType, getInternalSetting, getMember, getName, getPropertyType, getRawSerializationType, getSerializationType, getSerializedName, getSerializer, getType, getTypeSerializer, getViews, getWrapperName, hasNullSerializer, hasSerializer, isUnwrapping, removeInternalSetting, rename, serializeAsElement, serializeAsOmittedField, serializeAsPlaceholder, setInternalSetting, setNonTrivialBaseType, toString, unwrappingWriter, willSuppressNulls, wouldConflictWithName
Copyright © 2015–2020 Red Hat. All rights reserved.