@Deprecated public static class StdKeySerializers.DateKeySerializer extends StdSerializer<Date>
JsonSerializer.None
Modifier and Type | Field and Description |
---|---|
protected static JsonSerializer<?> |
instance
Deprecated.
|
_handledType
Constructor and Description |
---|
StdKeySerializers.DateKeySerializer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
serialize(Date value,
JsonGenerator g,
SerializerProvider provider)
Deprecated.
Method that can be called to ask implementation to serialize
values of type this serializer handles.
|
acceptJsonFormatVisitor, createObjectNode, createSchemaNode, createSchemaNode, findConvertingContentSerializer, findPropertyFilter, getSchema, getSchema, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrow
getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId
protected static final JsonSerializer<?> instance
public StdKeySerializers.DateKeySerializer()
public void serialize(Date value, JsonGenerator g, SerializerProvider provider) throws IOException
JsonSerializer
serialize
in class StdSerializer<Date>
value
- Value to serialize; can not be null.g
- Generator used to output resulting Json contentprovider
- Provider that can be used to get serializers for
serializing Objects value contains, if any.IOException
Copyright © 2008–2018 FasterXML. All rights reserved.