Package ca.cdr.api.model.json
Class StringifiedCollectionMixin
java.lang.Object
ca.cdr.api.model.json.StringifiedCollectionMixin
N.B. GGG. If you ever add a high cardinality element to
AuditEventJson
, you must reflect that change in this
class as well, or else CSV exporting will stop working.
This abstract class serves as a mixin for serialization purposes, ensuring that collections of high-cardinality
JSON model elements are serialized as strings. This is achieved using the StringifiedCollectionMixin.HighCardinalityStringifyingSerializer
.
The serialized string representation is only currently used for CSV export.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This class strictly exists to serialize high cardinality elements into a string, for CSV export. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StringifiedCollectionMixin
public StringifiedCollectionMixin()
-