I want to write the XQuery to print the specific keys in JSON and want to except if it has an array value.
Sample JSON:
{
"id":"743",
"transation":{
"101":"success",
"102":"rejected",
"301":"processing"
},
"groupName":"group1"
}
Expected Result:
id
groupName