GetAllMessages and GetAllFriends Response Repeating

0 votes
Hi,

I suppose BuddyService.getAllFriends also has a repeating bug. When I call getAllFriends method, it returns a repeating string data. It is like;

{"app42":{"response":{"success":true "buddies":{"buddy":[{"userName":"User1"  .......

}]}}}} {"app42":{"response":{"success":true "buddies":{"buddy":[{"userName":"User1" .......

and so on.

Can you please fix this?
related to an answer for: BuddyService Get All Messages Problem
asked Jul 23, 2014 in App42 Cloud API-BaaS by Tufan (64 points)

1 Answer

+1 vote
 
Best answer
Hi,

If you try to print the complete array, response will look like a repeating response because every object toString prints the complete resposne in the array. However this will not impact your code by anyway if you iterate on array and fetch the response from each object in the array.

We will fix the toString method of object to not have repeating response.

Thanks

Ajay
answered Jul 24, 2014 by ajay123 (899 points)
selected Jul 24, 2014 by Tufan
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...