Skip to content

Instantly share code, notes, and snippets.

@joelongstreet
Created November 8, 2013 18:51
Show Gist options
  • Select an option

  • Save joelongstreet/7375705 to your computer and use it in GitHub Desktop.

Select an option

Save joelongstreet/7375705 to your computer and use it in GitHub Desktop.
var obj = [{"id":"user_1","name":"Matt Carter","gender":"male","age":"30"}, {"id":"user_2","name":"Erik Akers","gender":"male","age":"29"}]
var str = JSON.stringify(obj)
var parsed = JSON.parse(str)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment