References Deprecated
JodaSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| protected final int | _defaultNumericShape
Shape to use for generic "use numeric" feature (instead of more specific JsonFormat.shape). |
| protected final SerializationFeature | |
| protected final JacksonJodaDateFormat | |
| protected final int | _shapeOverride
Marker set to non-0 if (and only if) property or type override exists. |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected | JodaDateSerializerBase(Class<T> type, JacksonJodaDateFormat format, SerializationFeature numericFeature, int defaultNumericShape, int shapeOverride)
|
| Modifier and Type | Method and Description |
|---|---|
| protected int | |
| public void | acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType
Type of element (entity like property) being visited typeHint)Overrides com. Implements com. Default implementation specifies no format. |
| public JsonSerializer | createContextual(SerializerProvider
Serializer provider to use for accessing config, other serializers prov, BeanProperty Method or field that represents the property
(and is used to access value to serialize).
Should be available; but there may be cases where caller cannot provide it and
null is passed instead (in which case impls usually pass 'this' serializer as is) property)Implements com. Method called to see if a different (or differently configured) serializer is needed to serialize values of specified property. |
| public JsonNode | getSchema(SerializerProvider
The serializer provider. provider, Type A hint about the type. typeHint)Overrides com. Implements com.
Deprecated
Default implementation simply claims type is "string"; usually overriden by custom serializers. |
| public boolean | isEmpty(SerializerProvider prov, T value)
Overrides com. Method called to check whether given serializable value is considered "empty" value (for purposes of suppressing serialization of empty values). |
| public abstract JodaDateSerializerBase | withFormat(JacksonJodaDateFormat format, int shapeOverride)
References Deprecated
JodaDateSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.
|
| protected boolean |
| _defaultNumericShape | back to summary |
|---|---|
| protected final int _defaultNumericShape Shape to use for generic "use numeric" feature (instead of more specific JsonFormat.shape).
| |
| _featureForNumeric | back to summary |
|---|---|
| protected final SerializationFeature _featureForNumeric | |
| _format | back to summary |
|---|---|
| protected final JacksonJodaDateFormat _format | |
| _shapeOverride | back to summary |
|---|---|
| protected final int _shapeOverride Marker set to non-0 if (and only if) property or type override exists.
| |
| FORMAT_ARRAY | back to summary |
|---|---|
| protected static final int FORMAT_ARRAY | |
| FORMAT_STRING | back to summary |
|---|---|
| protected static final int FORMAT_STRING | |
| FORMAT_TIMESTAMP | back to summary |
|---|---|
| protected static final int FORMAT_TIMESTAMP | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| JodaDateSerializerBase | back to summary |
|---|---|
| protected JodaDateSerializerBase(Class<T> type, JacksonJodaDateFormat format, SerializationFeature numericFeature, int defaultNumericShape, int shapeOverride) | |
| _serializationShape | back to summary |
|---|---|
protected int _serializationShape(SerializerProvider provider)
| |
| acceptJsonFormatVisitor | back to summary |
|---|---|
| public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) throws JsonMappingException Overrides com. Implements com. Doc from com. Default implementation specifies no format. This behavior is usually overriden by custom serializers.
| |
| createContextual | back to summary |
|---|---|
| public JsonSerializer Implements com. Doc from com. Method called to see if a different (or differently configured) serializer is needed to serialize values of specified property. Note that instance that this method is called on is typically shared one and as a result method should NOT modify this instance but rather construct and return a new instance. This instance should only be returned as-is, in case it is already suitable for use.
| |
| getSchema | back to summary |
|---|---|
| public JsonNode getSchema(SerializerProvider provider, Type typeHint) Overrides com. Implements com. Doc from com. Deprecated
Default implementation simply claims type is "string"; usually overriden by custom serializers.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty(SerializerProvider prov, T 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
| |
| withFormat | back to summary |
|---|---|
| public abstract JodaDateSerializerBase References Deprecated
See corresponding docs for further information.
| |
| writeWithZoneId | back to summary |
|---|---|
protected boolean writeWithZoneId(SerializerProvider provider)
| |