tripp-bishop
12 years agoMentor
convert JSON to a map in freemarker
Hi guys,
Is there a way to convert a JSON object into a map in freemarker without using eval? eval only seems to work for admins and I'm really leary of it anyways as it seems to be a security issue... The incoming data is from a standard user on the site, not a trusted admin. I'm taking a form submit and processing the data and need to iterate over a list of objects. A map/sequence would be ideal for this if I can get the data into the right shape. Any ideas?
Cheers,
Tripp