Kotlin - Parse JSON
I have a json string with 2 arrays. First I want to check if error is not false and get the values from user.
Here is the Json String:
{
"error":false,
"user":{
"id":26,
"name":"Someone",
"email":"
someone@gmail.com",
"aktif":1
}
}
How can I achieve this ?