Class JmixPivotTableSerializer

java.lang.Object
io.jmix.pivottableflowui.kit.component.serialization.JmixPivotTableSerializer

public class JmixPivotTableSerializer extends Object
  • Field Details

    • DEFAULT_DATE_FORMAT

      public static final String DEFAULT_DATE_FORMAT
      See Also:
    • DEFAULT_TIME_FORMAT

      public static final String DEFAULT_TIME_FORMAT
      See Also:
    • DEFAULT_DATE_TIME_FORMAT

      public static final String DEFAULT_DATE_TIME_FORMAT
      See Also:
    • dateFormatter

      protected final DateFormat dateFormatter
    • temporalDateFormatter

      protected final DateTimeFormatter temporalDateFormatter
    • temporalDateTimeFormatter

      protected final DateTimeFormatter temporalDateTimeFormatter
    • objectMapper

      protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
    • jsonFactory

      protected elemental.json.impl.JreJsonFactory jsonFactory
  • Constructor Details

    • JmixPivotTableSerializer

      public JmixPivotTableSerializer()
  • Method Details

    • initSerializer

      protected void initSerializer()
    • initMapper

      protected void initMapper()
    • createModule

      protected com.fasterxml.jackson.databind.module.SimpleModule createModule()
    • getSerializers

      protected List<com.fasterxml.jackson.databind.ser.std.StdSerializer<?>> getSerializers()
    • createFilterProvider

      protected com.fasterxml.jackson.databind.ser.impl.SimpleFilterProvider createFilterProvider()
    • parseRawJson

      public elemental.json.JsonValue parseRawJson(String rawJson)
    • serializeOptions

      public elemental.json.JsonValue serializeOptions(PivotTableOptions options)
    • serializeItems

      public elemental.json.JsonValue serializeItems(List<Map<String,Object>> dataItems)
    • deserialize

      public <T> Object deserialize(elemental.json.JsonObject jsonObject, Class<T> objectClass)
    • deserialize

      public <T> Object deserialize(String jsonContent, Class<T> objectClass)
    • serialize

      protected elemental.json.JsonValue serialize(Object object, Class<?> objectClass)