public class ChartSerializer
extends java.lang.Object
Constructor and Description |
---|
ChartSerializer(java.util.function.Function<DataItem,java.lang.String> itemKeyMapper) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
serialize(AbstractChart chart) |
java.lang.String |
serializeChanges(AbstractChart chart,
ChartIncrementalChanges changes) |
java.lang.String |
toJson(java.lang.Object value) |
public ChartSerializer(java.util.function.Function<DataItem,java.lang.String> itemKeyMapper)
public java.lang.String serialize(AbstractChart chart)
public java.lang.String serializeChanges(AbstractChart chart, ChartIncrementalChanges changes)
public java.lang.String toJson(java.lang.Object value)