Class AnyGetterWriter
- java.lang.Object
-
- com.fasterxml.jackson.databind.ser.AnyGetterWriter
-
public class AnyGetterWriter extends java.lang.Object
Class similar toBeanPropertyWriter
, but that will be used for serializingJsonAnyGetter
annotated (Map) properties
-
-
Constructor Summary
Constructors Constructor Description AnyGetterWriter(BeanProperty property, AnnotatedMember accessor, JsonSerializer<?> serializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fixAccess(SerializationConfig config)
void
getAndFilter(java.lang.Object bean, JsonGenerator gen, SerializerProvider provider, PropertyFilter filter)
void
getAndSerialize(java.lang.Object bean, JsonGenerator gen, SerializerProvider provider)
void
resolve(SerializerProvider provider)
-
-
-
Constructor Detail
-
AnyGetterWriter
public AnyGetterWriter(BeanProperty property, AnnotatedMember accessor, JsonSerializer<?> serializer)
-
-
Method Detail
-
fixAccess
public void fixAccess(SerializationConfig config)
- Since:
- 2.8.3
-
getAndSerialize
public void getAndSerialize(java.lang.Object bean, JsonGenerator gen, SerializerProvider provider) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getAndFilter
public void getAndFilter(java.lang.Object bean, JsonGenerator gen, SerializerProvider provider, PropertyFilter filter) throws java.lang.Exception
- Throws:
java.lang.Exception
- Since:
- 2.3
-
resolve
public void resolve(SerializerProvider provider) throws JsonMappingException
- Throws:
JsonMappingException
-
-