Skip to main content
added 63 characters in body
Source Link
Mark G
  • 1.6k
  • 1
  • 7
  • 15

It looks like you may need to convert response.content to a String first (initially it's clr; see my comment to your question, above):

var json = Platform.Function.ParseJSON(String(response.content));
Platform.Response.Write(json.name); // mkyong.com

It looks like you may need to convert response.content to a String first:

var json = Platform.Function.ParseJSON(String(response.content));
Platform.Response.Write(json.name); // mkyong.com

It looks like you may need to convert response.content to a String first (initially it's clr; see my comment to your question, above):

var json = Platform.Function.ParseJSON(String(response.content));
Platform.Response.Write(json.name); // mkyong.com
Source Link
Mark G
  • 1.6k
  • 1
  • 7
  • 15

It looks like you may need to convert response.content to a String first:

var json = Platform.Function.ParseJSON(String(response.content));
Platform.Response.Write(json.name); // mkyong.com