AMPscript
Base 64 Decode
Base 64 Encode
GUID
IsEmailAddress
IsPhoneNumber
MD5
ParseJSON
RaiseError
Stringify
Validate Your Server-Side JavaScript using WSProxy
Parses the supplied string or array value and returns a object from that value. This function will not execute functions within the supplied values.
ParseJSON(1)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string or array | Required | String or array to parse |
This example sets the val variable to propVal.
1<script runat="server">
2 var str = '{ "prop1": "propVal" }';
3 var obj = Platform.Function.ParseJSON(str);
4 var val = obj.prop1;
5</script>