Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

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

Open
he-mark-qinglong opened this issue Jul 21, 2021 · 0 comments

Comments

@he-mark-qinglong
Copy link

he-mark-qinglong commented Jul 21, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant