I have the following json structure(this is beautified). I'm having trouble with defining class definitions for the following things below(array in array?). And how would I loop through each "row" and compare if b->iscritical for example would equal to 1.
[
{
"b": {
"iscritical": 0,
"value": "fiber4/2/1"
},
"c": {
"iscritical": 0,
"value": 1990
},
"dd": {
"iscritical": 0,
"value": {
"dname": "Texas",
"mdomain": "fiber4/2/1",
"text": "Texas FTTH"
}
}
},
{
"b": {
"iscritical": 0,
"value": "fiber4/2/2"
},
"c": {
"iscritical": 0,
"value": 1991
},
"dd": {
"iscritical": 0,
"value": {
"dname": "Texas",
"mdomain": "fiber4/2/2",
"text": "Texas FTTH"
}
}
}
]
Thank you in advance!