Skip to content

Instantly share code, notes, and snippets.

@joncode
Created December 18, 2015 23:42
Show Gist options
  • Save joncode/a34fdd0ee1ab2c1d4fc7 to your computer and use it in GitHub Desktop.
Save joncode/a34fdd0ee1ab2c1d4fc7 to your computer and use it in GitHub Desktop.
PrettyPrint JSON
pp(JSON.parse(object.to_json))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment