Class JodaSerializers.JodaSerializer<T>
java.lang.Object
org.codehaus.jackson.map.JsonSerializer<T>
org.codehaus.jackson.map.ser.std.SerializerBase<T>
org.codehaus.jackson.map.ext.JodaSerializers.JodaSerializer<T>
- All Implemented Interfaces:
SchemaAware
- Direct Known Subclasses:
JodaSerializers.DateMidnightSerializer, JodaSerializers.DateTimeSerializer, JodaSerializers.LocalDateSerializer, JodaSerializers.LocalDateTimeSerializer
- Enclosing class:
JodaSerializers
- Since:
- 1.4
-
Nested Class Summary
Nested classes/interfaces inherited from class JsonSerializer
JsonSerializer.None -
Field Summary
Fields inherited from class SerializerBase
_handledType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringprintLocalDate(org.joda.time.ReadableInstant dateValue) protected StringprintLocalDate(org.joda.time.ReadablePartial dateValue) protected StringprintLocalDateTime(org.joda.time.ReadablePartial dateValue) Methods inherited from class SerializerBase
createObjectNode, createSchemaNode, createSchemaNode, getSchema, handledType, isDefaultSerializer, serialize, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrowMethods inherited from class JsonSerializer
isUnwrappingSerializer, serializeWithType, unwrappingSerializer
-
Constructor Details
-
JodaSerializer
-
-
Method Details
-
printLocalDateTime
protected String printLocalDateTime(org.joda.time.ReadablePartial dateValue) throws IOException, JsonProcessingException - Throws:
IOExceptionJsonProcessingException
-
printLocalDate
protected String printLocalDate(org.joda.time.ReadablePartial dateValue) throws IOException, JsonProcessingException - Throws:
IOExceptionJsonProcessingException
-
printLocalDate
protected String printLocalDate(org.joda.time.ReadableInstant dateValue) throws IOException, JsonProcessingException - Throws:
IOExceptionJsonProcessingException
-