I have a nested json response from my api like this:
{
"notif_title":"Generic Notification",
"notif_message":"you have a message",
"url":"https://www.google.com",
"set_profile":{
"54fdc8eb77761b8844e65f96":"1"
}
}
Problem
The problem is that I want to get the set_profile json as a string no as an object because that object will be changing and I don't need to make any changes to it.
Question
Can I get that object as a string using retrofit?, thanks
TypeAdapterFactory.