Created
March 29, 2023 08:13
-
-
Save trycf/811fd39c51ef8e0c44161b3452e8d053 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
st = { | |
"rdfs:member": [{ | |
"spi:STATUS" : "OK", | |
"spi:name" : "test", | |
"spi:action" : "check" | |
}] | |
}; | |
myArray = [st, {"name" : "sample"}]; | |
writeDump(myArray); | |
writeOutput("<br> Using the bracket notation :"); | |
writeDump(var=myArray[1]["rdfs:member"][1]["spi:name"],label='myArray[1]["rdfs:member"][1]["member:name"]' ); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment