Lucee Function Reference

arraytostruct()

Transform the array to a struct, the index of the array is the key of the struct

Example

arraytostruct(array array):struct

Category

array,struct

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
array array  Yes array to translate