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 BeanProperty |
_property |
protected MapSerializer |
_serializer |
Constructor and Description |
---|
AnyGetterWriter(BeanProperty property,
AnnotatedMember accessor,
MapSerializer serializer) |
Modifier and Type | Method and Description |
---|---|
void |
getAndSerialize(Object bean,
JsonGenerator jgen,
SerializerProvider provider) |
void |
resolve(SerializerProvider provider) |
protected final BeanProperty _property
protected final AnnotatedMember _accessor
protected MapSerializer _serializer
public AnyGetterWriter(BeanProperty property, AnnotatedMember accessor, MapSerializer serializer)
public void getAndSerialize(Object bean, JsonGenerator jgen, SerializerProvider provider) throws Exception
Exception
public void resolve(SerializerProvider provider) throws JsonMappingException
JsonMappingException
Copyright © 2012-2013 FasterXML. All Rights Reserved.