以下是我的JSON。我想获取此对象中数组的数量和名称。由于此内容是动态创建的,因此我不知道它们的数量和名称。在本例中有2个数组,名称分别为Table和Table1。
"{
"Table": [
{
"Day": "Jan",
"Counts": 20,
"SrNo": 1,
"Title": "test2",
"ProfilePic": "/Image1.jpg"
},
{
"Day": "Feb",
"Counts": 10,
"SrNo": 2,
"Title": "test2",
"ProfilePic": "/Image1.jpg"
}
],
"Table1": [
{
"Day": "01",
"Counts": 5,
"SrNo": 1,
"Title": "test3",
"ProfilePic": "/Image2.jpg"
},
{
"Day": "02",
"Counts": 9,
"SrNo": 2,
"Title": "test3",
"ProfilePic": "/Image2.jpg",
}
]
}"