| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | StringFieldPropertyWriter(BeanPropertyWriter src, BeanPropertyAccessor acc, int index, JsonSerializer<Object> ser)
|
| Modifier and Type | Method and Description |
|---|---|
| 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 StringFieldPropertyWriter | |
| public BeanPropertyWriter |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| StringFieldPropertyWriter | back to summary |
|---|---|
| public StringFieldPropertyWriter(BeanPropertyWriter src, BeanPropertyAccessor acc, int index, JsonSerializer<Object> ser) | |
| 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.
| |
| withAccessor | back to summary |
|---|---|
| public StringFieldPropertyWriter withAccessor(BeanPropertyAccessor acc) Implements abstract com.
| |
| withSerializer | back to summary |
|---|---|
| public BeanPropertyWriter withSerializer(JsonSerializer<Object> ser) Implements abstract com.
| |