My primary need is how to find the number of elements in top level data.
Given the json data:
{
[
{Key11:Value11,Key12:Value12,...Key1N:Value1N},
{Key21:Value21,Key22:Value22,...Key2N:Value2n},
{Key31:Value31,Key32:Value32,...Key3N:Value3N},
{Key41:Value41,Key42:Value42,...Key4N:Value4N},
.
.
.
KeyZ1:ValueZ1,KeyZ2:ValueZ2,...KeyZN:ValueZN}
]
}
how do I find the number of array elements in the Json data?
Also, given the jason data:
{
{Key11:Value11,Key12:Value12,...Key1N:Value1N}
}
How do I find the number of key-value elements in the json data?