How to find nested Json Key/Value exists or not

Hello,

I have Json Object which has nested Keys. Some element may have “Rows”, some element does not have “rows”

How to find if element does not have “rows”?

Fyi - I have looped three times to get value of rows elements. It is failing when rows is not present.
Please help

I have tried all combinations like isnothing, containskey etc.

@pawanbag,
Can you share us the json file you are using

Hi,

I am not able to share JSON hence pasted contains in original post