Conal Tuohy, Paul Ryan, and Michael Kay all raise a common objection in the comments: JSON might be better at messaging between programs but XML seems to remain the standard of human-readable documents. This controversy inspires two stages of reflection in me:
- At first, I agreed heartily with Desmond Schmidt. I abandoned a plan for an XML-based Shakespeare class because, in conversation with H. Lewis Ulman, I decided that the "human readable" XML imposed so many constraints that it would distract from my learning objectives. Instead, my students work in traditional text editors (or collaborate in Google docs), and I transform their output in Scalar.
- The truth is that I'm strategically agnostic about this debate. I'm committed to Scalar in the near-term, and Scalar serializes API results as either RDF-XML or RDF-JSON. Ultimately, I don't care whether the bagels have gluten or not, as long as I get my schmear.
No comments:
Post a Comment