Skip to content

Instantly share code, notes, and snippets.

@Dottenpixel
Created August 8, 2013 02:39
Show Gist options
  • Save Dottenpixel/6180983 to your computer and use it in GitHub Desktop.
Save Dottenpixel/6180983 to your computer and use it in GitHub Desktop.
Output Ruby Object to symbolized Hash
raw JSON.parse(@my_object.to_json, :symbolize_names => true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment