VirtualBeanPropertyWriter implementation used for
com.fasterxml.jackson.databind.annotation.JsonAppend ,
to serialize properties backed-by dynamically assignable attribute
values.
| Modifier and Type | Field and Description |
|---|---|
| protected final String | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected | AttributePropertyWriter(String attrName, BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType)
|
| protected | AttributePropertyWriter(String attrName, BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType, JsonInclude.
|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static AttributePropertyWriter | construct(String attrName, BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType)
|
| protected Object | value(Object bean, JsonGenerator jgen, SerializerProvider prov)
Implements abstract com. |
| public VirtualBeanPropertyWriter | withConfig(MapperConfig<?>
Currenct configuration; guaranteed to be config, AnnotatedClass SerializationConfig
(just not typed since caller does not have dependency to serialization-specific types)Class that contains this property writer declaringClass, BeanPropertyDefinition Nominal property definition to use propDef, JavaType Declared type for the property type)Implements abstract com. IllegalStateException.
|
| _attrName | back to summary |
|---|---|
| protected final String _attrName | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| AttributePropertyWriter | back to summary |
|---|---|
| protected AttributePropertyWriter(String attrName, BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType) | |
| AttributePropertyWriter | back to summary |
|---|---|
| protected AttributePropertyWriter(String attrName, BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType, JsonInclude. | |
| AttributePropertyWriter | back to summary |
|---|---|
| protected AttributePropertyWriter(AttributePropertyWriter base) | |
| construct | back to summary |
|---|---|
| public static AttributePropertyWriter construct(String attrName, BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType) | |
| value | back to summary |
|---|---|
| protected Object value(Object bean, JsonGenerator jgen, SerializerProvider prov) throws Exception Implements abstract com. Doc from com. Method called to figure out the value to serialize. For simple sub-types
(such as
| |