Answers for "iteration through json with key value pairs"

0

iteration through json with key value pairs

var data = {
  "VERSION": "2006-10-27.a",
  "JOBNAME": "EXEC_",
  "JOBHOST": "Test",
  "LSFQUEUE": "45",
  "LSFLIMIT": "2006-10-27",
  "NEWUSER": "3",
  "NEWGROUP": "2",
  "NEWMODUS": "640"
};

Object.keys(data).forEach(function(key) {
  console.log('Key : ' + key + ', Value : ' + data[key])
})
Posted by: Guest on July-02-2021

Code answers related to "iteration through json with key value pairs"

Code answers related to "Javascript"

Browse Popular Code Answers by Language