Skip to content

Instantly share code, notes, and snippets.

@shameerc
Created March 12, 2011 02:10
Show Gist options
  • Select an option

  • Save shameerc/866961 to your computer and use it in GitHub Desktop.

Select an option

Save shameerc/866961 to your computer and use it in GitHub Desktop.
Prse json and dynamic property names
var obj = $.parseJSON(msg);
for(var key in obj){
alert(obj[key]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment