Class StringifiedCollectionMixin.HighCardinalityStringifyingSerializer

java.lang.Object
tools.jackson.databind.ValueSerializer<Collection<?>>
ca.cdr.api.model.json.StringifiedCollectionMixin.HighCardinalityStringifyingSerializer
All Implemented Interfaces:
tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
Enclosing class:
StringifiedCollectionMixin

public static class StringifiedCollectionMixin.HighCardinalityStringifyingSerializer extends tools.jackson.databind.ValueSerializer<Collection<?>>
This class strictly exists to serialize high cardinality elements into a string, for CSV export. See StringifiedCollectionMixin to see how we use it.
  • Nested Class Summary

    Nested classes/interfaces inherited from class tools.jackson.databind.ValueSerializer

    tools.jackson.databind.ValueSerializer.None
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    serialize(Collection theValue, tools.jackson.core.JsonGenerator theGen, tools.jackson.databind.SerializationContext theSerializationContext)
     

    Methods inherited from class tools.jackson.databind.ValueSerializer

    acceptJsonFormatVisitor, createContextual, getDelegatee, handledType, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, resolve, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withFormatOverrides, withIgnoredProperties

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • serialize

      public void serialize(Collection theValue, tools.jackson.core.JsonGenerator theGen, tools.jackson.databind.SerializationContext theSerializationContext) throws tools.jackson.core.JacksonException
      Specified by:
      serialize in class tools.jackson.databind.ValueSerializer<Collection<?>>
      Throws:
      tools.jackson.core.JacksonException