Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trycf/811fd39c51ef8e0c44161b3452e8d053 to your computer and use it in GitHub Desktop.
Save trycf/811fd39c51ef8e0c44161b3452e8d053 to your computer and use it in GitHub Desktop.
TryCF Gist
<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