News for hackers. Stuff that matters.
Re:Comments in JSON by RHSeeger on Friday August 02, 2013 @11:09AM (#6147367)
YAML is not a superset of JSON, it's a totally different format.
Re:Comments in JSON by TomasSedovic on Friday August 02, 2013 @11:17AM (#6147437)
According to the spec, YAML 1.2 is:

"The primary objective of this revision is to bring YAML into compliance with JSON as an official subset."

http://yaml.org/spec/1.2/spec.html

If I understand it correctly, the earlier versions were close but not 100% compatible.

Re:Comments in JSON by sehrope on Friday August 02, 2013 @11:20AM (#6147460)
YAML 1.2 is a super set of JSON. Check out the spec itself: http://www.yaml.org/spec/1.2/spec.html#id2759572
Re:Comments in JSON by bct on Friday August 02, 2013 @11:19AM (#6147456)
It's both.