it does not offer CSV as a built-in serialization ...
# serialization
j
it does not offer CSV as a built-in serialization target but the plugin is agnostic to formats meaning you are able to support CSV yourself
f
I have not seen documentation on how to do this. How can this be done?
g
There is a link right on Readme of the project:
Writing custom serializers
https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/custom_serializers.md
also you can check existing formats, all of them just library code, no magic And there is a couple of examples of custom formats: https://github.com/Kotlin/kotlinx.serialization/blob/master/examples/example-jvm/src/
f
That seems really simple, but I had a problem while trying to use it : https://github.com/Kotlin/kotlinx.serialization/issues/526