Valid Marketing-Cloud-Developer Dumps shared by ExamDiscuss.com for Helping Passing Marketing-Cloud-Developer Exam! ExamDiscuss.com now offer the newest Marketing-Cloud-Developer exam dumps, the ExamDiscuss.com Marketing-Cloud-Developer exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com Marketing-Cloud-Developer dumps with Test Engine here:
A developer needs to process a payload from an external system in a CloudPage. What Marketing Cloud Server-Side JavaScript Platform function should be used for converting a string payload in JSON format to a JavaScript object?
Correct Answer: B
To convert a string payload in JSON format to a JavaScript object on a CloudPage, the developer should use theParseJSON (B)function in Marketing Cloud Server-Side JavaScript (SSJS). This function parses a JSON string and returns a corresponding JavaScript object. Example: varjsonString ='{"key1":"value1", "key2":"value2"}';varjsonObject =Platform.Function.ParseJSON(jsonString); References: * Salesforce Marketing Cloud SSJS Guide * SSJS Platform.Function.ParseJSON