infinum / kotlin-jsonapix

JsonApiX is an Android, annotation processor library that was made to transform regular Kotlin classes into their JSON API representations, with the ability to serialize or deserialize them to or from strings.
Apache License 2.0
36 stars 9 forks source link

Kotlin Multiplatform support? #46

Open luongvo opened 1 year ago

luongvo commented 1 year ago

Hi team, thank you for building a great library for JSON:API parsing with kotlinx. After checking, I see this lib does not support the Kotlin Multiplatform project yet as it still uses kapt to process annotations based on JVM. The description of this library says it seems to support multiplatform already but unluckily not yet.

Do you have any plan to make it fully support it? I do think the main work will be migrating from kapt to ksp. Am I correct? 🤔

stjepanbanek commented 1 year ago

Hi @luongvo!

You are correct, I am working on KSP support as we speak. I believe sometimes in the 1st quarter of the next year there should be a release that will include it. I will update the description, thanks for pointing this out. The initial plan was to make the lib multiplatform from the start, but it turned out to take more effort than we could afford at the time.

Anyway, yeah, we do plan to support KMM. Not sure if adding ksp is the last link in that chain, but if needed we will keep working.

maicol07 commented 4 months ago

Hi @stjepanbanek,

any news about KMP support?

Thanks

thisAAY commented 4 months ago

Hi @maicol07

We're focusing on bringing in KMP support right now and will add KSP and KAPT at the same time. This involves some big updates we're currently working on. We plan to have KMP support ready by the third quarter.