Skip to content

Instantly share code, notes, and snippets.

@callblueday
Created September 3, 2013 09:52
Show Gist options
  • Save callblueday/6421846 to your computer and use it in GitHub Desktop.
Save callblueday/6421846 to your computer and use it in GitHub Desktop.
function stringToJSON(obj){
return eval('(' + obj + ')');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment