https://kotlinlang.org logo
#android
Title
# android
a

Abdullah

03/28/2024, 10:54 PM
hi everyone, how can I serialize below data? This is AppConfig and value of value could be any type and I can't use Any for serialization*.*
[
{
"key": "PROFILE_PHOTO",
"value": "url"
},
{
"key": "RELATIONSHIP",
"value": 0.6
},
{
"key": "SEX",
"value": [ "Man", "Woman"]
},
{
"key": "IOS_VER",
"value": 5
}
]
not kotlin but kotlin colored 1
c

Chrimaeon

03/29/2024, 6:09 PM
Please be aware, that this is a workspace for the Kotlin programming language and your question is off-topic here. You might find helpful resources in the channel description.