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

Brian Kardell <bkardell@gmail.com> Tue, 08 October 2013 20:10 UTC

Return-Path: <bkardell@gmail.com>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 08C4F21F8A7B for <json@ietfa.amsl.com>; Tue, 8 Oct 2013 13:10:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z9HK6jfn5Xgl for <json@ietfa.amsl.com>; Tue, 8 Oct 2013 13:10:10 -0700 (PDT)
Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com [IPv6:2a00:1450:4010:c04::231]) by ietfa.amsl.com (Postfix) with ESMTP id F131821F8A67 for <json@ietf.org>; Tue, 8 Oct 2013 13:10:07 -0700 (PDT)
Received: by mail-lb0-f177.google.com with SMTP id w7so7140397lbi.8 for <json@ietf.org>; Tue, 08 Oct 2013 13:10:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=kDsR7mxEPVSpRg+hdU2wE0fI36SAeTRF25MUX9ToyIc=; b=pRU7VwyGLGgxIpUYBg2pbORF1eHqVw4O/pnyoc4djWEp/KKCjNcGSW1FGXhzMuDe1q YN1YutkuRIYSBCKWPWIZvZ1Pdx1GlS+0i2ZkBbTV4PXZ/EowhSkZchZEryRLsPF9NR6l BF+4Ddj52TjyRHPm9j5z1B9/ApVEuMEXIAiqKr790fOszBdcMY8PqHedVfky1eE2DVjX LJPhkG5NaO2gmZX/fuio2sDODZ2WSjLpBA+rQkoDamn8rQHguw5eC+E7I3LOuH9OzJ7+ wrYk2yboL5NcgyrXylDE73mQZilzuM/gaLWdgQQjRwY6zAgHDIE37XKhZf6x9xdvAAgN pxyw==
MIME-Version: 1.0
X-Received: by 10.152.2.233 with SMTP id 9mr2812932lax.38.1381263006850; Tue, 08 Oct 2013 13:10:06 -0700 (PDT)
Received: by 10.112.173.133 with HTTP; Tue, 8 Oct 2013 13:10:06 -0700 (PDT)
In-Reply-To: <5254619E.7040407@gmail.com>
References: <C68CB012D9182D408CED7B884F441D4D3482260661@nambxv01a.corp.adobe.com> <CAHBU6ivjOHyfMeSNPK3+A_4+VVsyH5Y9XDj77J01OZCjdB6wmA@mail.gmail.com> <525429ED.5000705@gmail.com> <04FC3123-33A4-40DA-AD5D-DA543435DE56@wirfs-brock.com> <20131008164219.GA16081@mercury.ccil.org> <52544E3C.7000907@gmail.com> <CAHBU6it5Gw-JDWZk1AdqoCe_i-jqwUu3eMLrbZZe1VC3uVFkuw@mail.gmail.com> <525455D4.8090105@gmail.com> <CADC=+jeB21vKkEr-Py0WTKgfLxUeprqXb2pqU51Q9cch-_EaCg@mail.gmail.com> <5254619E.7040407@gmail.com>
Date: Tue, 08 Oct 2013 13:10:06 -0700
Message-ID: <CADC=+je912ViXL41w_GK+0J_UXmP_j5PvNhGsu8krrcqum2GwA@mail.gmail.com>
From: Brian Kardell <bkardell@gmail.com>
To: "Peter F. Patel-Schneider" <pfpschneider@gmail.com>
Content-Type: multipart/alternative; boundary="089e0112c518dd649b04e8405a41"
Cc: Allen Wirfs-Brock <allen@wirfs-brock.com>, John Cowan <cowan@mercury.ccil.org>, Larry Masinter <masinter@adobe.com>, Tim Bray <tbray@textuality.com>, JSON WG <json@ietf.org>, "www-tag@w3.org" <www-tag@w3.org>
Subject: Re: [Json] FYI ECMA, W3C, IETF coordination on JSON
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <json.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/json>, <mailto:json-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/json>
List-Post: <mailto:json@ietf.org>
List-Help: <mailto:json-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/json>, <mailto:json-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Oct 2013 20:10:11 -0000

On Oct 8, 2013 3:48 PM, "Peter F. Patel-Schneider" <pfpschneider@gmail.com>
wrote:
>
> 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
cases.
>

> 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
interoperability.
>

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
problem.