Hi, I got the string from facebook api as:
family = (
{relationship = brother;uid = 100767;},
relationship = cousin;uid = 10900;},
{name = myaunt;relationship = aunt;},
{ name = krish; relationship = uncle;}
);
How to get an array of relationship and uid from this?
I got the result as:
relation = (
brother,
cousin,
aunt,
uncle
)
How to handle this string?
There is no native code to parse a JSON response with objective-c, but there are third party libraries readily available. TouchJSON is a popular example of this.