Joey

    Joey

    2 years ago
    Hi guys, im fetching a api endpoint and the data looks like this.
    {
      "-LzAGaZtoPN702hIyUPh": {
        "isActive": true
      }
    }
    I wonder how can i get the dynamic key? Thanks!
    turastory

    turastory

    2 years ago
    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.
    Joey

    Joey

    2 years ago
    Im trying to deserialize the endpoint using kotlinx.serialization. Thanks anyway
    turastory

    turastory

    2 years ago
    Okay.. There’s a channel for that. #serialization