QuestionQ85

VerifiedScripting and Automation

A developer must process a payload from an external system on a CloudPage.

Which Marketing Cloud Server-Side JavaScript Platform function should be used to convert a string payload in JSON format into a JavaScript object?

Explanation

Marketing Cloud Server-Side JavaScript uses Platform.Function.ParseJSON() to deserialize a JSON string into a JavaScript object. Stringify serializes an object to JSON rather than parsing it.

Community Discussion

No comments yet. Be the first to start the discussion!