News for hackers. Stuff that matters.
Re:JSON or XML: Just Decide by thezilch on Thursday April 12, 2012 @09:37PM (#3834993)
Yes, JSON is no ML, but YAML is, which is a superset of JSON's semantics/features. You're perfectly right that JSON is not always the right tool for transporting a document, but I still wouldn't regard XML as the best tool for any of those cases.
Re:JSON or XML: Just Decide by cpunks on Friday April 13, 2012 @06:13AM (#3836053)
Please post an example of the HTML above in YAML (or your preferred language) that would be better than SGML or XML.

Sidenote: YAML doesn't consider itself a markup language. See the renaming: http://en.wikipedia.org/wiki/YAML