| 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, JsonSerializer<Object> ser)
|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected BeanPropertyWriter | _new(PropertyName newName)
Implements abstract com. Overridable factory method used by sub-classes |
| public final void | serializeAsElement(Object bean, JsonGenerator gen, SerializerProvider prov)
Implements abstract com. Alternative to |
| public final void | serializeAsField(Object bean, JsonGenerator gen, SerializerProvider prov)
Implements abstract com. 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 |
| _acc | back to summary |
|---|---|
| private final Function<Object, Object> _acc | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| ObjectPropertyWriter | back to summary |
|---|---|
| public ObjectPropertyWriter(BeanPropertyWriter src, Function<Object, Object> acc, JsonSerializer<Object> ser) | |
| ObjectPropertyWriter | back to summary |
|---|---|
| protected ObjectPropertyWriter(ObjectPropertyWriter base, PropertyName name) | |
| _new | back to summary |
|---|---|
| protected BeanPropertyWriter _new(PropertyName newName) Implements abstract com. Doc from com. Overridable factory method used by sub-classes
| |
| serializeAsElement | back to summary |
|---|---|
| public final void serializeAsElement(Object bean, JsonGenerator gen, SerializerProvider prov) throws Exception Implements abstract com. Doc from com. Alternative to
| |
| serializeAsField | back to summary |
|---|---|
| public final void serializeAsField(Object bean, JsonGenerator gen, SerializerProvider prov) throws Exception Implements abstract com. Doc from com. 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(JsonSerializer<Object> ser) Implements abstract com.
| |