Re: Getting a list of the JSON Keys (Not the values) from a json object.
Hi @Dramus,
I have similar requirement and contains did not work for me. Could you please share the solution that worked for you?
I need to check if keys like locationUri, locationType exist in the JSON response.
Condition contains(outputs('Invoke_an_HTTP_request'),'locationUri') did not help.
JSON Response
"location": {
"displayName": "",
"locationUri": "",
"locationType": "conferenceRoom",
"uniqueId": "",
"uniqueIdType": "directory",
"address": {
"street": "",
"city": "",
"state": "",
"countryOrRegion": "",
"postalCode": ""
},
"coordinates": {}
},
"locations": [
{
"displayName": "",
"locationUri": "",
"locationType": "conferenceRoom",
"uniqueId": "",
"uniqueIdType": "directory",
"address": {
"street": "",
"city": "",
"state": "",
"countryOrRegion": "",
"postalCode": ""
},
"coordinates": {}
}
],
Thanks,
SV