I have to parse the below nested Json array's data into my android 
application.Which Ui Element should i used to print this json data? Is it 
possible to use in listview or any other element?

My Json File

{"data" : [
    {
        "id"  : 4,
        "name" : "name4",
        "children" : [
            {
                "id" :  6,
                "name" : "name6",
                "children" : [
                    {
                        "id"  : 8,
                        "name" : "name8",
                    },
                    {
                        "id"  : 9,
                        "name" : "name9",
                        "children" : [
                            {
                                "id"  : 10,
                                "name" : "name10",
                            }
                        ]
                    },
                ]
            },
            {
                "id" :  7,
                "name" : "name7"
            }
        ]
    },
    {
        "id"  : 5,
        "name" : "name5",
    }]

}


-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/4fcd5283-d21e-4f0e-b879-f327dbd8aaba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to