Created
September 14, 2013 17:05
-
-
Save erran/6563698 to your computer and use it in GitHub Desktop.
Discovery of the day, off of a fact I learned a few weeks ago. This is because the JSON filetype is a subset of YAML it remains readable to `YAML.parse()`.
This file contains 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.parse(json) == YAML.parse(json).to_ruby |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment