Created
October 26, 2010 21:19
-
-
Save seanbollin/647835 to your computer and use it in GitHub Desktop.
Convert json in String format to Javascript Object
This file contains 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 myObject = eval('(' + json + ')'); | |
// where json is the string-notated javascript object |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment