Forum Discussion

rohitvarsha12's avatar
rohitvarsha12
Contributor
8 years ago

How to Save Json Child Node Count

In below JSON response I want to find out how many times  items are present in itemlist ( In this case 3):

{
"bio": {
"firstName": "abc",

},
"itemList": [

{
"creditorName":"1"
},
{
"creditorName":"1"
},
{
"creditorName":"1"
}
],
"validationMessages": []
}

 

 

 

How can i find it out using groovy or if soap ui pro has in built feature anything will do