Forms Controls Selects - parsing input values

Hi,

value of the parameter that I want to use in select is a json string which has field .values which I would like to be used in select. How could I achieve that. If I were in java script world I would simply do: JSON.parse(jsonString).values and use it in cam-choices.

This doesn’t (obviously) work:

where jsonString is

“{values: [1,2,3], someotherattr: ‘aaaa’}”

How could I parse it in the form and use it form?

thanks, K

Is it hopeless? Not supported?