https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
j

Joey

01/22/2020, 3:40 AM
Hi guys, im fetching a api endpoint and the data looks like this.
Copy code
{
  "-LzAGaZtoPN702hIyUPh": {
    "isActive": true
  }
}
I wonder how can i get the dynamic key? Thanks!
t

turastory

01/22/2020, 3:56 AM
Well, I think the question is not related to Kotlin. Also if you’re looking for a solution for a specific problem, ask StackOverflow please.
j

Joey

01/22/2020, 3:58 AM
Im trying to deserialize the endpoint using kotlinx.serialization. Thanks anyway
t

turastory

01/22/2020, 5:04 AM
Okay.. There’s a channel for that. #serialization