Class AbstractDataSerializer<T>
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<T>
com.fasterxml.jackson.databind.ser.std.StdSerializer<T>
io.jmix.chartsflowui.kit.component.serialization.AbstractSerializer<T>
io.jmix.chartsflowui.component.serialization.AbstractDataSerializer<T>
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
,com.fasterxml.jackson.databind.jsonschema.SchemaAware
,Serializable
- Direct Known Subclasses:
ChartIncrementalChangesSerializer
,DataSetSourceSerializer
- 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 static final org.apache.commons.lang3.time.FastDateFormat
static final String
static final String
static final String
protected static final String
protected Messages
protected MetadataTools
protected static final DateTimeFormatter
protected static final DateTimeFormatter
Fields inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
_handledType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
formatValue
(Object valueToFormat) protected void
serializeDataItem
(DataItem dataItem, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider, String categoryField, List<String> fields) void
setMessages
(Messages messages) void
setMetadataTools
(MetadataTools metadataTools) Methods inherited from class io.jmix.chartsflowui.kit.component.serialization.AbstractSerializer
serialize, serializeNonNullValue, writeIfNotNull, writeListIfNotEmpty
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
-
ITEM_KEY_PROPERTY_NAME
- See Also:
-
DEFAULT_DATE_FORMAT
- See Also:
-
DEFAULT_TIME_FORMAT
- See Also:
-
DEFAULT_DATE_TIME_FORMAT
- See Also:
-
DATE_FORMATTER
protected static final org.apache.commons.lang3.time.FastDateFormat DATE_FORMATTER -
TEMPORAL_DATE_FORMATTER
-
TEMPORAL_DATE_TIME_FORMATTER
-
itemKeyMapper
-
messages
-
metadataTools
-
-
Constructor Details
-
AbstractDataSerializer
-
-
Method Details
-
setMessages
-
setMetadataTools
-
serializeDataItem
protected void serializeDataItem(DataItem dataItem, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider, String categoryField, List<String> fields) throws IOException - Throws:
IOException
-
formatValue
-