Class PivotJsonSerializationContext

java.lang.Object
io.jmix.pivottable.widget.serialization.PivotJsonSerializationContext
All Implemented Interfaces:
com.google.gson.JsonSerializationContext

public class PivotJsonSerializationContext extends Object implements com.google.gson.JsonSerializationContext
  • Field Details

    • pivotTableModel

      protected PivotTableModel pivotTableModel
    • gson

      protected com.google.gson.Gson gson
  • Constructor Details

    • PivotJsonSerializationContext

      public PivotJsonSerializationContext(PivotTableModel pivotTableModel, com.google.gson.Gson gson)
  • Method Details

    • serialize

      public com.google.gson.JsonElement serialize(Object src)
      Specified by:
      serialize in interface com.google.gson.JsonSerializationContext
    • serialize

      public com.google.gson.JsonElement serialize(Object src, Type typeOfSrc)
      Specified by:
      serialize in interface com.google.gson.JsonSerializationContext
    • getPivotTableModel

      public PivotTableModel getPivotTableModel()
    • getProperties

      public List<String> getProperties()
    • getLocalizedPropertyName

      public String getLocalizedPropertyName(String property)