在我像这样转储它之后,我得到了这个结构:
<cfdump var="#currentInfo.answers#">
如何访问LIST中的值
我需要在将来将该值与另一个变量进行比较,以便执行某些操作。

发布于 2012-10-06 00:20:27
下面的代码应该可以做到这一点:
currentInfo.answers["F0FF5FDC-D2C3-4D0F-D7D2D2886D5B430d"].LIST发布于 2012-10-06 01:35:07
由于该值是动态的,因此您需要如下内容:
currentKey="F0FF5FDC-D2C3-4D0F-D7D2D2886D5B430d";
currentInfo.answers[currentKey].LIST;https://stackoverflow.com/questions/12750166
复制相似问题