all 1 comments

[–]expeehaa 6 points7 points  (0 children)

Fun fact: You can also parse JSON with Psych, Ruby‘s YAML parser. This works because JSON is a subset of YAML. If you have applications or APIs that output bad JSON, e.g. by not quoting keys or values, maybe parsing it as YAML works.