jquery loop through json

48

jquery loop through json -

var someObj = { foo: "bar"};

$.each(someObj, function(propName, propVal) {
  console.log(propName, propVal);
});

Comments

Submit
0 Comments