You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Согласно документации 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
The text was updated successfully, but these errors were encountered:
Согласно документации 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
The text was updated successfully, but these errors were encountered: