Salesforce Certified Marketing Cloud Consultant — Question 62
Northern Trail Outfitters is using a triggered send to send customers their order confirmations. Their commerce platform provides a JSON payload for order details.
What would they use to format the JSON within the email?
Answer options
- A. TransformJSON() AMPscript Function
- B. ParseJSON content block within Content Builder
- C. BuildRowSetFromJSON() AMPscript Function
- D. SSJS platform function ParseJSON
Correct answer: D
Explanation
The correct answer is D, as the SSJS platform function ParseJSON is specifically designed to parse JSON data in JavaScript, making it suitable for formatting JSON in emails. Options A and C are AMPscript functions that do not directly parse JSON, while option B, although a content block, does not provide the required functionality to format JSON data as effectively as the SSJS function.