| Modifier and Type | Field and Description |
|---|---|
| private final Function | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | ObjectPropertyWriter(BeanPropertyWriter src, Function<Object, Object> acc, ValueSerializer<Object> ser)
|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected BeanPropertyWriter | _new(PropertyName newName)
Implements abstract tools. Overridable factory method used by sub-classes |
| public final void | serializeAsElement(Object bean, JsonGenerator g, SerializationContext ctxt)
Implements abstract tools. Alternative to |
| public final void | serializeAsProperty(Object bean, JsonGenerator g, SerializationContext ctxt)
Implements abstract 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. |
| public BeanPropertyWriter | withSerializer(ValueSerializer<Object> ser)
Implements abstract tools.
|
| _acc | back to summary |
|---|---|
| private final Function<Object, Object> _acc | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ObjectPropertyWriter | back to summary |
|---|---|
| public ObjectPropertyWriter(BeanPropertyWriter src, Function<Object, Object> acc, ValueSerializer<Object> ser) | |
| ObjectPropertyWriter | back to summary |
|---|---|
| protected ObjectPropertyWriter(ObjectPropertyWriter base, PropertyName name) | |
| _new | back to summary |
|---|---|
| protected BeanPropertyWriter _new(PropertyName newName) Implements abstract tools. Doc from tools. Overridable factory method used by sub-classes
| |
| serializeAsElement | back to summary |
|---|---|
| public final void serializeAsElement(Object bean, JsonGenerator g, SerializationContext ctxt) throws Exception Implements abstract tools. Doc from tools. Alternative to
| |
| serializeAsProperty | back to summary |
|---|---|
| public final void serializeAsProperty(Object bean, JsonGenerator g, SerializationContext ctxt) throws Exception Implements abstract 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.
| |
| withSerializer | back to summary |
|---|---|
| public BeanPropertyWriter withSerializer(ValueSerializer<Object> ser) Implements abstract tools.
| |