sealtalk / sealtalk-android

RongCloud Android SDK Demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

android json parse error Result<Void> while the server gived result as string

he-mark-qinglong opened this issue · comments

Your normal demo used Result to confirm some json string looks like this:
{
"code":200,
}

but, when I try the "/group/set_member_info" service interface, the acctully data responsed is {"code", "result":"设置成功"}
thus caused the client sdk don't parse this json response because result is Void(which should be String).

So, the solve way is to replace all the Result to Result