Skip to content

Instantly share code, notes, and snippets.

@thekarel
Created July 21, 2013 23:22
Show Gist options
  • Save thekarel/6050391 to your computer and use it in GitHub Desktop.
Save thekarel/6050391 to your computer and use it in GitHub Desktop.
JSON I/O
// From JSON
var jsObject = JSON.parse(jsonString);
// To JSON
var jsonString = JSON.stringify(foo);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment