Kotlin / kotlinx.collections.immutable

Immutable persistent collections for Kotlin
Apache License 2.0
1.12k stars 56 forks source link

Kotlinx serialization support #179

Open makeevrserg opened 2 months ago

makeevrserg commented 2 months ago

This PR contains serializers along with tests for them:

This PR is relevant to #63

LionZXY commented 2 months ago

I support the changes, but I also understand how unpleasant it will be to add a new library to the standard distribution. The main problem is Serialization and ImmutableList are from the same "Kotlin world" and people expect better support between them

From the user's point of view, the solution proposed by @makeevrserg is the best - the presence of an officially supported solution from the kotlin team.

But I understand that this will be difficult for the Kotlin team - maybe then make a separate library for this and link to it?

Related with #63 , #138, #17