Actually, this workaround is already posted by someone on internet. But, I think this is kinda tricky solution, because you have to add several properties to your JSON to get this things work.
In the InterfaceAdapter, it’s clearly say that he need the CLASSNAME and DATA property to verify the serialize and deserialize process. So, your JSON will looks like this:
{
CLASSNAME: “YourClass” // declare your class target
DATA: {
// your actual JSON object goes here
}
}