public final class LocalDateTimeSerializer
extends com.fasterxml.jackson.databind.ser.std.StdSerializer<T>
| Constructor and Description |
|---|
LocalDateTimeSerializer() |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
getSchema(com.fasterxml.jackson.databind.SerializerProvider provider,
Type typeHint) |
void |
serialize(org.joda.time.LocalDateTime dt,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
void |
serializeWithType(T value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) |
acceptJsonFormatVisitor, createObjectNode, createSchemaNode, createSchemaNode, getSchema, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrowpublic void serialize(org.joda.time.LocalDateTime dt,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider)
throws IOException,
com.fasterxml.jackson.core.JsonGenerationException
serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<org.joda.time.LocalDateTime>IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic com.fasterxml.jackson.databind.JsonNode getSchema(com.fasterxml.jackson.databind.SerializerProvider provider,
Type typeHint)
getSchema in interface com.fasterxml.jackson.databind.jsonschema.SchemaAwaregetSchema in class com.fasterxml.jackson.databind.ser.std.StdSerializer<org.joda.time.LocalDateTime>public void serializeWithType(T value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer)
throws IOException,
com.fasterxml.jackson.core.JsonProcessingException
serializeWithType in class com.fasterxml.jackson.databind.JsonSerializer<T>IOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionCopyright © 2012-2013 FasterXML. All Rights Reserved.