次の特定の形式で1つのjsonファイルを取得しようとしています。
{
"business":[
{
"id":"13",
"category":"Dinner",
"subcategory":"",
"name_eng":"dinner 1",
"name_arab":"dinner 1",
"mobile":"12345",
"address":"not now",
"logo":"1.gif",
"contact":"Call",
"open_time":"10 PM",
"close_time":"8 PM"
}
],
"business_cat":[
[
"cat 1",
{
"name":"dish 1",
"id":"7",
"name_arab":"dish1",
"desc_eng":"5 Chicken Legs\r\n5 Hamous\r\n5 Fires\r\n5 Pepsi",
"desc_arab":"5 Chicken Legs\r\n5 Hamous\r\n5 Fires\r\n5 Pepsi",
"price":"200 KD",
"logo":"laptop.jpeg"
},
{
"name":"dish 2",
"id":"8",
"name_arab":"dish 2",
"desc_eng":"5 Chicken Legs\r\n5 Hamous\r\n5 Fires\r\n5 Pepsi",
"desc_arab":"5 Chicken Legs\r\n5 Hamous\r\n5 Fires\r\n5 Pepsi",
"price":"123789",
"logo":"micky.jpg"
},
{
"name":"dish3",
"id":"13",
"name_arab":"dish3",
"desc_eng":"5 Chicken Legs\r\n5 Hamous\r\n5 Fires\r\n5 Pepsi",
"desc_arab":"5 Chicken Legs\r\n5 Hamous\r\n5 Fires\r\n5 Pepsi",
"price":"300 KD",
"logo":"1.jpg"
},
{
"name":"new dish",
"id":"15",
"name_arab":"new dish",
"desc_eng":"5 Chicken Legs\r\n5 Hamous\r\n5 Fires\r\n5 Pepsi",
"desc_arab":"5 Chicken Legs\r\n5 Hamous\r\n5 Fires\r\n5 Pepsi",
"price":"213 KD",
"logo":"12.jpg"
}
],
[
"cat2",
{
"name":"dish3",
"id":"14",
"name_arab":"dish3",
"desc_eng":"5 Chicken Legs\r\n5 Hamous\r\n5 Fires\r\n5 Pepsi",
"desc_arab":"5 Chicken Legs\r\n5 Hamous\r\n5 Fires\r\n5 Pepsi",
"price":"123 KD",
"logo":"10.jpg"
},
{
"name":"dish 4",
"id":"16",
"name_arab":"dish4",
"desc_eng":"5 Chicken Legs\r\n5 Hamous\r\n5 Fires\r\n5 Pepsi",
"desc_arab":"5 Chicken Legs\r\n5 Hamous\r\n5 Fires\r\n5 Pepsi",
"price":"110 KD",
"logo":"3.jpg"
}
]
]
}
「business」、「business_cat」、および「business_cat」の「cat 1」と「cat 2」の名前、および「cat 1」と「cat 2」のすべてのオブジェクトにアクセスするにはどうすればよいですか。このようなjsonデータを処理するのはやや複雑です。助けてください。