Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ошибка с парсингом friends.getMutual с параметром target_uids #52

Closed
olerom opened this issue Feb 7, 2017 · 0 comments

Comments

@olerom
Copy link

olerom commented Feb 7, 2017

Согласно документации friends.getMutual с параметром target_uids возвращает список из id, common_friends и common_count.

Пример кода, вызвавшего ошибку с парсингом json'а: vkApiClient.friends().getMutual(userActor).targetUids(ids).execute();
Где VkApiClient vkApiClient; UserActor userActor; List<Integer> ids;

Сама ошибка:
SEVERE: Invalid JSON: {"response":[{"id":something,"common_friends":[something,something],"common_count":something}]} com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected NUMBER but was BEGIN_OBJECT at path $[0]

Используемая версия: 0.4.3

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

No branches or pull requests

1 participant