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, withFilterId
public static final ZonedDateTimeKeySerializer INSTANCE
public void serialize(ZonedDateTime value, JsonGenerator gen, SerializerProvider serializers) throws IOException, JsonProcessingException
JsonSerializer
serialize
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.IOException
JsonProcessingException
Copyright © 2021 JBoss by Red Hat. All rights reserved.