Package ca.cdr.api.model.json
Class JsonDateSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<Date>
ca.cdr.api.model.json.JsonDateSerializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
com.fasterxml.jackson.databind.JsonSerializer.None
-
Constructor Summary
-
Method Summary
Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties
-
Constructor Details
-
JsonDateSerializer
public JsonDateSerializer()
-
-
Method Details
-
serialize
public void serialize(Date theValue, com.fasterxml.jackson.core.JsonGenerator theGen, com.fasterxml.jackson.databind.SerializerProvider theSerializers) throws IOException - Specified by:
serialize
in classcom.fasterxml.jackson.databind.JsonSerializer<Date>
- Throws:
IOException
-