Created
March 12, 2011 02:10
-
-
Save shameerc/866961 to your computer and use it in GitHub Desktop.
Prse json and dynamic property names
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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