chroniclechronicle-wire

How to serialize a list of SelfDescribingMarshallables to CSV


I need to serialize a list of SelfDescribingMarshallables of the same type as CSV output row by row using Chronicle Wire. But net.openhft.chronicle.wire.WireType#CSV produces a row for every object field, so it is not a CSV. Are there any code samples?


Solution

  • WireType#CSV is currently not in a working condition unfortunately as we haven't had any incentive to support it. However it's still possible to use low-level CSV marshalling via BytesMarshallable (not SelfDescribingMarshallable), see example here