Top Description Fields Constructors Methods
com.fasterxml.jackson.databind.ser

public Class AnyGetterWriter

extends Object
Class Inheritance
Imports
java.util.Map, com.fasterxml.jackson.core.*, com.fasterxml.jackson.databind.*, com.fasterxml.jackson.databind.introspect.AnnotatedMember, com.fasterxml.jackson.databind.ser.std.MapSerializer

Class similar to BeanPropertyWriter, but that will be used for serializing com.fasterxml.jackson.annotation.JsonAnyGetter annotated (Map) properties

Field Summary

Modifier and TypeField and Description
protected final AnnotatedMember
_accessor

Method (or field) that represents the "any getter"

protected MapSerializer
_mapSerializer

Deprecated as a consequence of MapSerializer being deprecated.
protected final BeanProperty
protected JsonSerializer<Object>

Constructor Summary

AccessConstructor and Description
public
AnyGetterWriter(BeanProperty property, AnnotatedMember accessor, JsonSerializer<?> serializer)

Method Summary

Modifier and TypeMethod and Description
public void
public void
public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_accessorback to summary
protected final AnnotatedMember _accessor

Method (or field) that represents the "any getter"

_mapSerializerback to summary
protected MapSerializer _mapSerializer

Deprecated

as a consequence of MapSerializer being deprecated. See corresponding docs for further information.

_propertyback to summary
protected final BeanProperty _property
_serializerback to summary
protected JsonSerializer<Object> _serializer

Constructor Detail

AnyGetterWriterback to summary
public AnyGetterWriter(BeanProperty property, AnnotatedMember accessor, JsonSerializer<?> serializer)
Annotations
@SuppressWarnings:unchecked

Method Detail

fixAccessback to summary
public void fixAccess(SerializationConfig config)
Since
2.8.3
getAndFilterback to summary
public void getAndFilter(Object bean, JsonGenerator gen, SerializerProvider provider, PropertyFilter filter) throws Exception
Since
2.3
getAndSerializeback to summary
public void getAndSerialize(Object bean, JsonGenerator gen, SerializerProvider provider) throws Exception
resolveback to summary
public void resolve(SerializerProvider provider) throws JsonMappingException
Annotations
@SuppressWarnings:unchecked