Hi all please tell me how can I represent this obj...
# serialization
е
Hi all please tell me how can I represent this object as a given json? {'response': {'code':0, 'message':'msg'}}
Copy code
@Serializable
data class ReportUserResponse(
    val message: String,
    val code: Int,
)
without having to create another class with a 'response' field ?
@Narek Mailian I saw that you had this issue How you did it?