How to Separate the Profile Details
<p>I try to read education details from face book using JSON in IPhone.</p>

<p>I read all education details from Face book successfully.</p>

<p>But i get the whole details. I want to separate the school, college {PG and UG}. But the node having same name like school. and also the data wil be read first one school, and then read one college, then again read one school and read one college like that. somebody fill one school more than one college. somebody wil fill more than one school and one college, somebody wont fill school or college. some id having same number of schools and college. some id having different number of schools and college. So how to I identify the schools and  college details separately. Please if anybody having any idea please share with me.</p>

<p>MY Doubt is how to identify the schools, and college and then print schools and college separately...</p>

<p>My sample output as follows..</p>

<p>"education":
    [
            {
                    "school":
                    {
                        "id":110402725649312,
                        "name":"10th class"
                    },
                    "year":
                    {
                        "id":102356633142124,
                        "name":"2001"
                    }
            },
            {
                    "school":
                    {
                            "id":111983532181734,
                            "name":"Bsc Maths"
                    },
                    "year":
                    {
                            "id":146950445337693,
                            "name":"2006"
                    },
            },
            {
                    "school":
                    {
                            "id":115980035092981,
                            "name":"+2"
                    },
                    "year":
                    {
                            "id":114786038555902,
                            "name":"2003"
                    }
            },
            {
                    "school":
                    {
                            "id":130814456944277,
                            "name":"mca"
                    },
                    "year":
                    {
                            "id":115598488468394,
                            "name":"2010"
                    },
            }
}]</p>

<p>Thanks to all...</p>
