public class AnyGetterWriter extends Object
BeanPropertyWriter
, but that will be used
for serializing JsonAnyGetter
annotated
(Map) propertiesModifier and Type | Field and Description |
---|---|
protected AnnotatedMember |
_accessor
Method (or field) that represents the "any getter"
|
protected MapSerializer |
_mapSerializer |
protected BeanProperty |
_property |
protected JsonSerializer<Object> |
_serializer |
Constructor and Description |
---|
AnyGetterWriter(BeanProperty property,
AnnotatedMember accessor,
JsonSerializer<?> serializer) |
Modifier and Type | Method and Description |
---|---|
void |
fixAccess(SerializationConfig config) |
void |
getAndFilter(Object bean,
JsonGenerator gen,
SerializerProvider provider,
PropertyFilter filter) |
void |
getAndSerialize(Object bean,
JsonGenerator gen,
SerializerProvider provider) |
void |
resolve(SerializerProvider provider) |
protected final BeanProperty _property
protected final AnnotatedMember _accessor
protected JsonSerializer<Object> _serializer
protected MapSerializer _mapSerializer
public AnyGetterWriter(BeanProperty property, AnnotatedMember accessor, JsonSerializer<?> serializer)
public void fixAccess(SerializationConfig config)
public void getAndSerialize(Object bean, JsonGenerator gen, SerializerProvider provider) throws Exception
Exception
public void getAndFilter(Object bean, JsonGenerator gen, SerializerProvider provider, PropertyFilter filter) throws Exception
Exception
public void resolve(SerializerProvider provider) throws JsonMappingException
JsonMappingException
Copyright © 2008–2023 FasterXML. All rights reserved.