Years.
| Modifier and Type | Field and Description |
|---|---|
| public static final YearSerializer |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected JsonToken | serializationShape(SerializationContext ctxt)
Implements abstract tools. Overridable helper method used from |
| public void | serialize(Year year, JsonGenerator generator, SerializationContext ctxt)
Implements abstract tools. Method that can be called to ask implementation to serialize values of type this serializer handles. |
| protected boolean | |
| protected YearSerializer | withFormat(DateTimeFormatter dtf, Boolean useTimestamp, JsonFormat.
Implements abstract tools.
|
| INSTANCE | back to summary |
|---|---|
| public static final YearSerializer INSTANCE | |
| YearSerializer | back to summary |
|---|---|
| protected YearSerializer() | |
| YearSerializer | back to summary |
|---|---|
| public YearSerializer(DateTimeFormatter formatter) | |
| YearSerializer | back to summary |
|---|---|
| protected YearSerializer(YearSerializer base, DateTimeFormatter dtf, Boolean useTimestamp) | |
| _acceptTimestampVisitor | back to summary |
|---|---|
| protected void _acceptTimestampVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) Overrides tools.
| |
| serializationShape | back to summary |
|---|---|
| protected JsonToken serializationShape(SerializationContext ctxt) Implements abstract tools. Doc from tools. Overridable helper method used from
| |
| serialize | back to summary |
|---|---|
| public void serialize(Year year, JsonGenerator generator, SerializationContext ctxt) throws JacksonException Implements abstract tools. Doc from tools. Method that can be called to ask implementation to serialize values of type this serializer handles.
| |
| useTimestampFromGlobalDefaults | back to summary |
|---|---|
| protected boolean useTimestampFromGlobalDefaults(SerializationContext ctxt) Overrides tools.
| |
| withFormat | back to summary |
|---|---|
| protected YearSerializer withFormat(DateTimeFormatter dtf, Boolean useTimestamp, JsonFormat. Implements abstract tools.
| |