i have json i have deserilized it it has multiple array i want to ckeck if that key is availble in any array if yes then pick the value
You can try with jobj.contains("key")
or jobj.has("key")
or IsNothing(jobj("key"))
If jarray then for each jarray element we can check the same in a loop or using index
Cheers
Loop through the jarray
And then use any of the above inside the loop with a if condition…
Jobj(0)("key")
if you directly access…if in loop directly use currentitem("key")
Cheers
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.