coldfusioncoldfusion-9cfdump

Dumping variables from lists ColdFusion 9


I have this struct after I dump it like this:

<cfdump var="#currentInfo.answers#">

How can I access the value inside the LIST?

I need to compare that value with another variable in the future to allow me to do certain operations.

Struct


Solution

  • The code below ought to do it:

    currentInfo.answers["F0FF5FDC-D2C3-4D0F-D7D2D2886D5B430d"].LIST