References Deprecated
JodaDateSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isEmpty(SerializerProvider prov, Interval value)
Overrides com. Method called to check whether given serializable value is considered "empty" value (for purposes of suppressing serialization of empty values). |
| public void | serialize(Interval
Value to serialize; can not be null. interval, JsonGenerator Generator used to output resulting Json content gen, SerializerProvider Provider that can be used to get serializers for
serializing Objects value contains, if any. provider)Implements abstract com. Method that can be called to ask implementation to serialize values of type this serializer handles. |
| public IntervalSerializer | withFormat(JacksonJodaDateFormat formatter, int shapeOverride)
Implements abstract com.
References Deprecated
IntervalSerializer is deprecated or references (maybe indirectly) at least one deprecated element.
|
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| IntervalSerializer | back to summary |
|---|---|
| public IntervalSerializer() | |
| IntervalSerializer | back to summary |
|---|---|
| public IntervalSerializer(JacksonJodaDateFormat format) | |
| IntervalSerializer | back to summary |
|---|---|
| public IntervalSerializer(JacksonJodaDateFormat format, int shapeOverride) | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty(SerializerProvider prov, Interval value) Overrides com. Doc from com. Method called to check whether given serializable value is considered "empty" value (for purposes of suppressing serialization of empty values). Default implementation will consider only null values to be empty. Note replaces
| |
| serialize | back to summary |
|---|---|
| public void serialize(Interval interval, JsonGenerator gen, SerializerProvider provider) throws IOException Implements abstract com. Doc from com. Method that can be called to ask implementation to serialize values of type this serializer handles.
| |
| withFormat | back to summary |
|---|---|
| public IntervalSerializer withFormat(JacksonJodaDateFormat formatter, int shapeOverride) Implements abstract com. References Deprecated
See corresponding docs for further information.
| |