Class PivotTableDescription.AggregationTypeAdapter

java.lang.Object
io.jmix.reports.entity.pivottable.PivotTableDescription.AggregationTypeAdapter
All Implemented Interfaces:
com.google.gson.JsonDeserializer<AggregationMode>, com.google.gson.JsonSerializer<AggregationMode>
Enclosing class:
PivotTableDescription

protected static class PivotTableDescription.AggregationTypeAdapter extends Object implements com.google.gson.JsonSerializer<AggregationMode>, com.google.gson.JsonDeserializer<AggregationMode>
  • Constructor Details

    • AggregationTypeAdapter

      protected AggregationTypeAdapter()
  • Method Details

    • serialize

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

      public AggregationMode deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
      Specified by:
      deserialize in interface com.google.gson.JsonDeserializer<AggregationMode>
      Throws:
      com.google.gson.JsonParseException