public class AnyGetterWriter extends Object
BeanPropertyWriter
, but that will be used
for serializing JsonAnyGetter
annotated
(Map) propertiesModifier and Type | Field and Description |
---|---|
protected Method |
_anyGetter |
protected MapSerializer |
_serializer |
Constructor and Description |
---|
AnyGetterWriter(AnnotatedMethod anyGetter,
MapSerializer serializer) |
Modifier and Type | Method and Description |
---|---|
void |
getAndSerialize(Object bean,
JsonGenerator jgen,
SerializerProvider provider) |
void |
resolve(SerializerProvider provider) |
protected final Method _anyGetter
protected final MapSerializer _serializer
public AnyGetterWriter(AnnotatedMethod anyGetter, MapSerializer serializer)
public void getAndSerialize(Object bean, JsonGenerator jgen, SerializerProvider provider) throws Exception
Exception
public void resolve(SerializerProvider provider) throws JsonMappingException
JsonMappingException