I'm trying to pass an array of objects to a setting value in json
notation with no avail:
<Setting name="someSetting" value="[{'propA':'1','propB':'2'},
{'propA':'3','propB':'4'},{'propA':'5','propB':'6'}]"/>
This triggers the following error:
"Complex object types cannot be converted to simple values."
The error occurred in .coldbox\system\plugins\Utilities.cfc: line 147
145 : returnString = removeChars(returnString, lookup.pos[1],
lookup.len[1]);
146 : /* Insert Var Value */
147 : returnString = insert(varValue, returnString, lookup.pos
[1]-1);
148 : }
149 : else{
Am I making a simple mistake, or is it not possible to pass an array
into a setting?
Thanks,
Eric