- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hmm. Seems we need to add the endpoint to server and admin is doing it.
when I am getting a JSON object, and also need to get the value
dynamically using key. But the below code works in Plain JS not in
Campaign. It is printing single character for every iteration in the loop.
Could you please help me to the parse JSON object, because the output is
dynamic
Sample Code:
var actualResponse=JSON.stringfy({
"Name": "ERR"
});
var data=JSON.parse(actualResponse);
Object.keys(data).forEach(function(key) {
console.log('Key : ' + key + ', Value : ' + data[key])})
Response
Views
Replies
0 Likes
Total Likes