BeanPropertyWriter, but that will be used
for serializing com.fasterxml.jackson.annotation.JsonAnyGetter annotated
(Map) properties
| Modifier and Type | Field and Description |
|---|---|
| protected final AnnotatedMember | _accessor
Hides tools. |
| protected MapSerializer | |
| protected final BeanProperty | |
| protected ValueSerializer | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | AnyGetterWriter(BeanPropertyWriter parent, BeanProperty property, AnnotatedMember accessor, ValueSerializer<?> serializer)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | fixAccess(SerializationConfig config)
Overrides tools. Method called to ensure that the mutator has proper access rights to be called, as per configuration. |
| public void | |
| public void | |
| public void | |
| public void | serializeAsProperty(Object bean, JsonGenerator gen, SerializationContext prov)
Overrides tools. Method called to access property that this bean stands for, from within given bean, and to serialize it as a JSON Object field using appropriate serializer. |
| _accessor | back to summary |
|---|---|
| protected final AnnotatedMember _accessor Hides tools. Method (or Field) that represents the "any getter" | |
| _mapSerializer | back to summary |
|---|---|
| protected MapSerializer _mapSerializer | |
| _property | back to summary |
|---|---|
| protected final BeanProperty _property | |
| _serializer | back to summary |
|---|---|
| protected ValueSerializer<Object> _serializer Hides tools. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| AnyGetterWriter | back to summary |
|---|---|
public AnyGetterWriter(BeanPropertyWriter parent, BeanProperty property, AnnotatedMember accessor, ValueSerializer<?> serializer)
| |
| fixAccess | back to summary |
|---|---|
| public void fixAccess(SerializationConfig config) Overrides tools. Doc from tools. Method called to ensure that the mutator has proper access rights to be called, as per configuration. Overridden by implementations that have mutators that require access, fields and setters.
| |
| getAndFilter | back to summary |
|---|---|
| public void getAndFilter(Object bean, JsonGenerator gen, SerializationContext provider, PropertyFilter filter) throws Exception | |
| getAndSerialize | back to summary |
|---|---|
| public void getAndSerialize(Object bean, JsonGenerator gen, SerializationContext provider) throws Exception | |
| resolve | back to summary |
|---|---|
public void resolve(SerializationContext provider)
| |
| serializeAsProperty | back to summary |
|---|---|
| public void serializeAsProperty(Object bean, JsonGenerator gen, SerializationContext prov) throws Exception Overrides tools. Doc from tools. Method called to access property that this bean stands for, from within given bean, and to serialize it as a JSON Object field using appropriate serializer.
| |