Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

unable to parse json data to java script

Hi There,

Am trying to convert json incoming payload to javascript object using below

request: {"Email":"test","RequestIds":"1","IsFromCache":"true"}

Below is apige javascript

var s = context.getVariable('request.content');

var s1 = JSON.parse(s);

pirnt(s1)

when i print am getting the output as [object object].

0 7 1,734
7 REPLIES 7
Top Solution Authors