If I have JSON as a string in a field and want to ...
# advancedpdf
n
If I have JSON as a string in a field and want to use it as a hash I'm thinking I need to parse the field value would this work?
Copy code
<#assign myHash = ${record.my_customfield_id?eval_json}>
<#list myHash?values as v>
  ${v}
</#list>
🤦‍♂️eval_json not available in the older version of freemarker that netsuite use.
d
yeah, eval_json is introduced with Freemarker version 2.3.31 (2021-02-16) NetSuite is currently using 2.3.26-incubating (2017-03-25...) 😕
d
2017 .. lol. Wow NetSuite
☝️ 1