com.fasterxml.jackson.databind.ser
Class AnyGetterWriter
java.lang.Object
com.fasterxml.jackson.databind.ser.AnyGetterWriter
public class AnyGetterWriter
- extends Object
Class similar to BeanPropertyWriter
, but that will be used
for serializing JsonAnyGetter
annotated
(Map) properties
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_property
protected final BeanProperty _property
_accessor
protected final AnnotatedMember _accessor
- Method (or field) that represents the "any getter"
_serializer
protected MapSerializer _serializer
AnyGetterWriter
public AnyGetterWriter(BeanProperty property,
AnnotatedMember accessor,
MapSerializer serializer)
getAndSerialize
public void getAndSerialize(Object bean,
com.fasterxml.jackson.core.JsonGenerator jgen,
SerializerProvider provider)
throws Exception
- Throws:
Exception
resolve
public void resolve(SerializerProvider provider)
throws JsonMappingException
- Throws:
JsonMappingException
Copyright © 2012 fasterxml.com. All Rights Reserved.