Our model has multi fields with multiple name, I w...
# multiplatform
h
Our model has multi fields with multiple name, I want to use multi serial name, but I can not, any way to do that? thank alot
m
Hi Henry You can use JsonNames annotation to provide alternate names. Refer https://blog.jetbrains.com/kotlin/2021/05/kotlinx-serialization-1-2-released/#alt-names
🙌 1