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

public abstract class AbstractDataSerializer<T> extends AbstractSerializer<T>
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • setMessages

      @Autowired public void setMessages(Messages messages)
    • setMetadataTools

      @Autowired public void setMetadataTools(MetadataTools metadataTools)
    • 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

      protected Object formatValue(Object valueToFormat)