`JSON.parse()` needs a string input. in reduce, co...
# suitescript
s
JSON.parse()
needs a string input. in reduce, context.values isn't a string, it's an array of strings. (you can confirm by logging typeof context.values i suspect) going through each of the elements in the array and parsing it should get you what you'd expect. (i think)