Join Slack
Powered by
it does not offer CSV as a built-in serialization ...
# serialization
j
jw
08/02/2019, 6:37 PM
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
Fudge
08/04/2019, 10:42 AM
I have not seen documentation on how to do this. How can this be done?
g
gildor
08/05/2019, 1:53 AM
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
gildor
08/05/2019, 1:53 AM
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
Fudge
08/05/2019, 9:39 AM
That seems really simple, but I had a problem while trying to use it :
https://github.com/Kotlin/kotlinx.serialization/issues/526
2
Views
Open in Slack
Previous
Next