W3C home > Mailing lists > Public > www-tag@w3.org > October 2013

Re: [Json] FYI ECMA, W3C, IETF coordination on JSON

From: Brian Kardell <bkardell@gmail.com>
Date: Tue, 8 Oct 2013 13:10:06 -0700
Message-ID: <CADC=+je912ViXL41w_GK+0J_UXmP_j5PvNhGsu8krrcqum2GwA@mail.gmail.com>
To: "Peter F. Patel-Schneider" <pfpschneider@gmail.com>
Cc: Tim Bray <tbray@textuality.com>, JSON WG <json@ietf.org>, Larry Masinter <masinter@adobe.com>, John Cowan <cowan@mercury.ccil.org>, "www-tag@w3.org" <www-tag@w3.org>, Allen Wirfs-Brock <allen@wirfs-brock.com>
On Oct 8, 2013 3:48 PM, "Peter F. Patel-Schneider" <pfpschneider@gmail.com>
> I had first thought that JSON was really really interoperable.  Then I
saw all the problems JSON-LD had with JSON.  Then I looked closer and saw
the problems in JSON with numbers, and strings, and arrays. Then I said to
myself "There really is no problem - although the syntax of JSON is too
loose, and the description is too loose, everyone interprets JSON as if it
was transmitting ECMAScript values."  Then I realized that this is not the
case, and, moreover, that even ECMAScript JSON doesn't match the intuitive
description of JSON.
> So I would say that JSON is only interoperable if you don't care too much
about interoperability, and you don't hit any of the really ugly corner

> So why then is JSON so successful?  Well, it's easy to write, easy to
read, matches programming language data fairly closely, and either you are
both producer and consumer or you don't care that your system works
correctly all the time so you don't care that JSON does not support

And I would simply say "that is an over-statement".  Of course the world
cares about interoperability and JSON is the lingua franca of data that
makes the Web go round every single day.  Problems and opinions are not
necessarily the same thing "JSON should specify X but doesn't" (where X is
something about dates or numbers or schema validation) doesn't mean we
don't make it actually work in the real world to do an astonishing number
of real things.  Breaking things is really where I would draw the line WRT
the language itself personally - parsers just *have* to be able parse what
they did before, pretty much the way they did before or you risk making
things measurably *less* interoperable in the vast majority of cases in the
name of making it more so.

There is absolutely nothing, and I mean *nothing* from being something a
lot *like* JSON, even a superset capable of parsing the basic subset of
today's JSON the same way and turning it into a forward/competitive move.
 It can be as opinionated as you/we want - and there is literally no
Received on Tuesday, 8 October 2013 20:10:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:56:59 UTC