Gabe Kauffman
12/10/2024, 6:12 PMThis declaration is opt-in and its usage should be marked with '@kotlinx. serialization. InternalSerializationApi' or '@OptIn(markerClass = kotlinx. serialization. InternalSerializationApi. class)'
warning on all of my data models marked with Kotlinx serialization's @Serializable
annotation.
Seems like a pointless / incorrect warning as my app works fine despite these warnings, and it would require me to mark every file with the @OptIn
annotation.
I found this Github issue for the problem but the suggested fix to enable K2 mode did not work (already had K2 enabled.) IMO this issue should be re-opened, or does anyone have any other recommendations to fix?
Kotlin version: 1.9.0dawidhyzy
12/13/2024, 7:12 AMGabe Kauffman
12/13/2024, 7:30 PMI found this Github issue for the problem but the suggested fix to enable K2 mode did not work (already had K2 enabled.)
George Z
02/26/2025, 2:46 PMdawidhyzy
02/27/2025, 7:18 AM