On Thursday, September 12, 2013 22:02:15 w0rp wrote: > On the subject of YAML. I've tried it out a few times. The syntax > for JSON can be described in 1-2 pages, on json.org's front page. > The syntax for YAML requires a 50-100 page document to describe. > That should be enough to tell you not to use it.
While, I agree in principle, I would point out that what's on json.org is oversimplified and is not a valid spec. You really need to read the RFC if you want to get it right, and that has about 9 pages of actual content: http://www.ietf.org/rfc/rfc4627.txt?number=4627 So, you're comparing a basic explanation of JSON to a full-on spec for YAML. Now, the YAML 1.2 spec does have about 77 pages of actual content: http://yaml.org/spec/1.2/spec.pdf So, you're not completely off base in your comparison (YAML _is_ way more complicated), but to properly specify JSON requires a lot more pages than your post indicates. - Jonathan M Davis