Sign In/My Account | View Cart  
advertisement

Article:
 JSON on the Web, or: The Revenge of SML
Subject: Why JSON moves us away from XML - fortunately!
Date: 2006-07-24 19:19:59
From: rjelliffe
Response to: Why JSON moves us away from XML - fortunately!

Sour grapes? Simon, don't make up bogus historical connections then complain if someone points that out! You titled your article "The Revenge of SML" as if JSON technically or historically has anything to do with SML.


You are right that SML bifurcated into Common XML and YAML. But Common XML does not get rid of markup and so is nothing to do with JSON. And YAML, like JSON, has larger syntax and more object types than DTD-less XML: YAML (and JSON) ended up solving far different problems than were articulated for SML early.


Indeed, that was the problem with SML wasn't it: aesthetic minimalists, interoperability fans, visual minimalists, low-power-device people and people who needed basic datatyping, got together under the banner of "simplicity" only to find that they actually needed other things: YAML for example is more complex than XML in its typing, and is not a markup language in the sense that non-SGML people think that a markup language means angle brackets.


Why not say that JSON is revenge of SGML over XML, in the sense that it embodies a concern with terseness and desire for infix operators.


No Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message


Titles Only Titles Only Oldest First
  • Why JSON moves us away from XML - fortunately!
    2006-07-24 20:21:00 Simon St.Laurent [Reply]

    I dunno, Rick - it seems to me that JSON proves that the SML people had a point in the first place, and that the YAML people who followed them had an even better point.


    I don't care much whether it's angle brackets or curly braces. I'm just happy that people who just want to ship data structures around have found a home more appropriate to them than XML ever really could be.


    (And with luck, JSON's success will lead more people to YAML, and eventually we'll have people working in toolsets that were actually designed for their tasks instead of repurposed from another field.)


Sponsored By: