org.codehaus.jackson.map.ser
Class AnyGetterWriter
java.lang.Object
org.codehaus.jackson.map.ser.AnyGetterWriter
public class AnyGetterWriter
- extends Object
Class similar to BeanPropertyWriter
, but that will be used
for serializing JsonAnyGetter
annotated
(Map) properties
- Since:
- 1.6
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_anyGetter
protected final Method _anyGetter
_serializer
protected final MapSerializer _serializer
AnyGetterWriter
public AnyGetterWriter(AnnotatedMethod anyGetter,
MapSerializer serializer)
getAndSerialize
public void getAndSerialize(Object bean,
JsonGenerator jgen,
SerializerProvider provider)
throws Exception
- Throws:
Exception
resolve
public void resolve(SerializerProvider provider)
throws JsonMappingException
- Throws:
JsonMappingException