Class ChartIncrementalChangesSerializer

java.lang.Object
tools.jackson.databind.ValueSerializer<ChartIncrementalChanges>
All Implemented Interfaces:
tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable

@Component("charts_ChartIncrementalChangesSerializer") @Scope("prototype") public class ChartIncrementalChangesSerializer extends AbstractDataSerializer<ChartIncrementalChanges>
  • Constructor Details

    • ChartIncrementalChangesSerializer

      public ChartIncrementalChangesSerializer(Function<DataItem,String> itemKeyMapper)
  • Method Details

    • serializeNonNullValue

      public void serializeNonNullValue(ChartIncrementalChanges value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext provider) throws tools.jackson.core.JacksonException
      Specified by:
      serializeNonNullValue in class AbstractSerializer<ChartIncrementalChanges>
      Throws:
      tools.jackson.core.JacksonException
    • writeItems

      protected void writeItems(String propertyName, @Nullable Collection<? extends DataItem> items, DataSet.Source<?> source, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext provider) throws tools.jackson.core.JacksonException
      Throws:
      tools.jackson.core.JacksonException