How To The Write `structValueArray( structure )` Function In lucee?
Description:-
This is used to get structure values as an array.
structValueArray( structure );
This function returns an array of the given structure.
Attributes:-
structure:- This is a required argument, a structure variable values will be converted into an array.
Example:-
<cfscript>
test = {
"a" : 100,
"b" : 200,
"c" : 300
};
writeDump( structValueArray( test ) );
</cfscript>
Result:-
[ 100, 200, 300 ];
Here we convert a structure value into an array, this function is supported in Lucee 5.3.8 and higher, This is not supported in ColdFusion.

1 Comment
zoritoler imol
August 25, 2025I would like to thnkx for the efforts you have put in writing this blog. I am hoping the same high-grade blog post from you in the upcoming as well. In fact your creative writing abilities has inspired me to get my own blog now. Really the blogging is spreading its wings quickly. Your write up is a good example of it.