Class AnyGetterWriter
java.lang.Object
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.ser.AnyGetterWriter
Class similar to
BeanPropertyWriter
, but that will be used
for serializing JsonAnyGetter
annotated
(Map) properties-
Field Summary
Modifier and TypeFieldDescriptionprotected final AnnotatedMember
Method (or field) that represents the "any getter"protected MapSerializer
protected final BeanProperty
protected JsonSerializer<Object>
-
Constructor Summary
ConstructorDescriptionAnyGetterWriter
(BeanProperty property, AnnotatedMember accessor, JsonSerializer<?> serializer) -
Method Summary
Modifier and TypeMethodDescriptionvoid
fixAccess
(SerializationConfig config) void
getAndFilter
(Object bean, JsonGenerator gen, SerializerProvider provider, PropertyFilter filter) void
getAndSerialize
(Object bean, JsonGenerator gen, SerializerProvider provider) void
resolve
(SerializerProvider provider)
-
Field Details
-
_property
-
_accessor
Method (or field) that represents the "any getter" -
_serializer
-
_mapSerializer
-
-
Constructor Details
-
AnyGetterWriter
public AnyGetterWriter(BeanProperty property, AnnotatedMember accessor, JsonSerializer<?> serializer)
-
-
Method Details
-
fixAccess
- Since:
- 2.8.3
-
getAndSerialize
public void getAndSerialize(Object bean, JsonGenerator gen, SerializerProvider provider) throws Exception - Throws:
Exception
-
getAndFilter
public void getAndFilter(Object bean, JsonGenerator gen, SerializerProvider provider, PropertyFilter filter) throws Exception - Throws:
Exception
- Since:
- 2.3
-
resolve
- Throws:
JsonMappingException
-