public class AnyGetterWriter
extends java.lang.Object
BeanPropertyWriter
, but that will be used
for serializing JsonAnyGetter
annotated
(Map) propertiesConstructor and Description |
---|
AnyGetterWriter(BeanProperty property,
AnnotatedMember accessor,
JsonSerializer<?> serializer) |
Modifier and Type | Method and 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) |
public AnyGetterWriter(BeanProperty property, AnnotatedMember accessor, JsonSerializer<?> serializer)
public void fixAccess(SerializationConfig config)
public void getAndSerialize(java.lang.Object bean, JsonGenerator gen, SerializerProvider provider) throws java.lang.Exception
java.lang.Exception
public void getAndFilter(java.lang.Object bean, JsonGenerator gen, SerializerProvider provider, PropertyFilter filter) throws java.lang.Exception
java.lang.Exception
public void resolve(SerializerProvider provider) throws JsonMappingException
JsonMappingException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"