coldfusion check if key exists and not empty code example
Example: coldfusion check if key exists and not empty
<cfset arrayOfStructs = deserializeJson(jsonJobsOpen)>
<cfloop array="#arrayOfStructs#" index="thisValue">
<!--- Now you can use this condition to check for empty values --->
<cfif StructKeyExists(thisValue, "JOBID") and Len(thisValue.JOBID) GT 0>
...
</cfloop>