You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

how to ingest JSON using Responsys Personalization Language (RPL) into HTML in Responsys

We wanted some directions around how to make our Json feeds work with Responsys Personalization Language (RPL). We went through the documentation but didn’t find anything specific to JSON, So currently having issues getting it to work.

The specific issues being

a)how to enable our Responsys account to allow JSON downloads from an http/https endpoint.

b)how to parse the resultant nested JSON using RPL.

Currently I’m using the following code for testing purposes:

<#assign response = httpUtil.URLtoString("http://data.nba.net/data/10s/prod/v1/2017/teams.json")>

<#assign team_info = jsonFactoryUtil.looseDeserializeSafe(response) >

    <h1>${team_info.league.standard.nickname}</h1>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!