Class ColorSerializer

java.lang.Object
io.jmix.charts.widget.amcharts.serialization.ColorSerializer
All Implemented Interfaces:
com.google.gson.JsonSerializer<Color>

public class ColorSerializer extends Object implements com.google.gson.JsonSerializer<Color>
  • Constructor Details

    • ColorSerializer

      public ColorSerializer()
  • Method Details

    • serialize

      public com.google.gson.JsonElement serialize(Color src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
      Specified by:
      serialize in interface com.google.gson.JsonSerializer<Color>