Gayathry
4 years agoNew Contributor II
Check array is empty or not
Hi Experts,
I have a requirement where I need to check ‘group’ array is empty or not. Could someone help with the JSON path expression.
Empty group array JSON looks like:
[
{
“group”: [
{}
]
}
]
Non empty group array json loiks like:
[
{
“group”: [
{
“ID”: “002”
}
{
“ID”: “003”
}
]
}
]
Thanks in Advance.