Created
January 16, 2012 14:19
-
-
Save mlitwiniuk/1621074 to your computer and use it in GitHub Desktop.
YAML in Rails - don't and do
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
json_object = ActiveSupport::JSON.decode(json_content) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
json_object = JSON.load(json_content) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment