I need to parse json data using jquery parseJSON as following JSON data :
{
"0": {
"0": "Item 1",
"1": "",
"2": "",
"3": "",
"4": "",
"5": "",
"childs": {}
},
"1": {
"0": "Item 2",
"1": "",
"2": "",
"3": "",
"4": "",
"5": "",
"childs": {
"0": {
"0": "Item 2 - Sub 1",
"1": "",
"2": "",
"3": "",
"4": "",
"5": ""
},
"1": {
"0": "Item 2 - Sub 2",
"1": "",
"2": "",
"3": "",
"4": "",
"5": ""
}
}
}
}
I'm not familiar of json data structure, I didn't find any way to read values when indexed by numeral keys and I didn't know how to read childs sub values.