I have a below JSON and I am getting the the user (701) as input . I want to query and check in the json if the user 701 and has modules “Test6”. Tried few but could not make it work .Please help
"User": [
{
"gpid": "701",
"modules": [
"Test1",
"Test2",
"Test3",
"Test4",
"Test5",
"Test6"
]
},
{
"gpid": "700",
"modules": [
"Test1",
"Test2",
"Test3",
"Test4",
"Test5",
"Test9"
]
},