Class CalendarEventSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<T>
com.fasterxml.jackson.databind.ser.std.StdSerializer<CalendarEvent>
io.jmix.fullcalendarflowui.component.serialization.CalendarEventSerializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
,com.fasterxml.jackson.databind.jsonschema.SchemaAware
,Serializable
public class CalendarEventSerializer
extends com.fasterxml.jackson.databind.ser.std.StdSerializer<CalendarEvent>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
com.fasterxml.jackson.databind.JsonSerializer.None
-
Field Summary
Modifier and TypeFieldDescriptionprotected final com.vaadin.flow.data.provider.KeyMapper<Object>
protected com.vaadin.flow.data.provider.KeyMapper<Object>
protected String
Fields inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
_handledType
-
Constructor Summary
ConstructorDescriptionCalendarEventSerializer
(String sourceId, com.vaadin.flow.data.provider.KeyMapper<Object> idMapper, com.vaadin.flow.data.provider.KeyMapper<Object> crossDataProviderKeyMapper) -
Method Summary
Modifier and TypeMethodDescriptionvoid
serialize
(CalendarEvent value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) protected void
serializeCrossDataProviderField
(String property, Object value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) protected void
serializeNullableValue
(String property, Object value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) void
setTimeZoneSupplier
(Supplier<TimeZone> timeZoneSupplier) Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
_neitherNull, _nonEmpty, acceptJsonFormatVisitor, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow
Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties
-
Field Details
-
timeZoneSupplier
-
crossDataProviderKeyMapper
-
idMapper
-
sourceId
-
-
Constructor Details
-
CalendarEventSerializer
-
-
Method Details
-
setTimeZoneSupplier
-
serialize
public void serialize(CalendarEvent value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException - Specified by:
serialize
in classcom.fasterxml.jackson.databind.ser.std.StdSerializer<CalendarEvent>
- Throws:
IOException
-
serializeCrossDataProviderField
protected void serializeCrossDataProviderField(String property, @Nullable Object value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException - Throws:
IOException
-
serializeNullableValue
protected void serializeNullableValue(String property, @Nullable Object value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException - Throws:
IOException
-