Issues parsing JSON with multiple arrays
I'm having issues grabbing, parsing and including various values from a JSON payload that Responsys receives as part of an incoming custom event payload.
In my email, I have the following code:
<#assign o=parsejson("contributions"?eval)>
<#list o["allowances"] as cont>
${cont}
</#list>
At this point I'm trying to just simply pull the "description" value and incorporate it into the body of the email by using the code above. But I eventually want to be able to extract the values from objects in a sub-array (e.g., products.Units).
However, I continue getting various error messages on the Responsys side when it attempts to compile the HTML and send the email.