public class ZonedDateTimeKeySerializer extends JsonSerializer<ZonedDateTime>
JsonSerializer.None| Modifier and Type | Field and Description |
|---|---|
static ZonedDateTimeKeySerializer |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
serialize(ZonedDateTime value,
JsonGenerator gen,
SerializerProvider serializers)
Method that can be called to ask implementation to serialize
values of type this serializer handles.
|
acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterIdpublic static final ZonedDateTimeKeySerializer INSTANCE
public void serialize(ZonedDateTime value, JsonGenerator gen, SerializerProvider serializers) throws IOException, JsonProcessingException
JsonSerializerserialize in class JsonSerializer<ZonedDateTime>value - Value to serialize; can not be null.gen - Generator used to output resulting Json contentserializers - Provider that can be used to get serializers for
serializing Objects value contains, if any.IOExceptionJsonProcessingExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.