Skip to content

Instantly share code, notes, and snippets.

@seanbollin
Created October 26, 2010 21:19
Show Gist options
  • Save seanbollin/647835 to your computer and use it in GitHub Desktop.
Save seanbollin/647835 to your computer and use it in GitHub Desktop.
Convert json in String format to Javascript Object
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